Built with blockbuilder.org
Built with blockbuilder.org
forked from jalapic's block: gini curves
Built with blockbuilder.org
Working through the book Getting Started with D3
forked from jfost00's block: Subway Wait Assessment
Built with blockbuilder.org
Built with blockbuilder.org
Using data from the US Census, this visualization displays popular names that have historically been androgynous.
Control points are not intersected by the path for several non-linear interpolations for lines ("basis" in this case). Because of this, point tracking for non-linear lines should be calculated from the svg-path rather than from the d3-scales. Mike Bostock has two examples showing how to do this with a single path. This gist shows one approach for point tracking with multiple paths. Other approaches are shown here and here.
This approach saves precomputed closestPoints of each data point's linear coordinates respective to their parent path. The precomputation took 63.85 seconds (~0.16 seconds per point). What still remains for
| ## Animal Behaviour journal ggplot2 theme | |
| ## Please contact me (jc3181 AT columbia DOT edu) if have improvements or comments | |
| theme_animalbehaviour <- theme(plot.title = element_text(hjust = 0, vjust = 1, size = rel(2.3)), | |
| panel.background = element_blank(), | |
| plot.background = element_blank(), | |
| panel.grid.major.x = element_blank(), | |
| panel.grid.minor = element_blank(), | |
| strip.background = element_blank(), | |
| panel.border = element_rect(fill = NA, colour = "black"), |
| license: gpl-3.0 |
Built with blockbuilder.org
forked from johangithub's block: AFSC Utility by Multi-Barchart