Choropleth maps should have legends that reflect their linear binned data, not categorical legends. This gist explains how to make them in datawrapper.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
Grouped horizontal bar chart with legend. This uses parameters for many elements, including value column names in CSV, legend item text, colors, and axis labels.
This is a simple labelled bar chart using conventional margins, partly inspired by Mike Bostock's vertical example.
Choropleth using an external geojson (DC Census Tracts by Population Change - 2000), data-driven styling, and queryRenderedFeatures to show hovered polygon's features in a sidebar tooltip.