Skip to main content
100%

d3v4 Multiple Pie Charts - Static Data

✓ Published0🌍 Public
Aandrew-reid
Last edited Mar 17, 2017
Created on Jan 31, 2017

This example displays multiple pie charts overlaid on a geographic map of the world, using D3 v4 with SVG rendering. A Mercator projection centered on India provides the base map, drawn from TopoJSON land and country boundary data. Each pie chart is positioned at coordinates read from a CSV file and represents a static distribution via five categorical slices, colored with the Category10 scheme. The visualization also includes small red circles at each data point, and the chart arcs are generated with d3.arc and d3.pie, demonstrating how to layer pie charts on map points.

AI-generated description

Based on a question at stack overflow, regarding multiple pie charts on a map.

http://stackoverflow.com/questions/41949622/piechart-over-a-map-point-using-d3-js

Similar vizzes