Skip to main content
100%

Fork of Pie Chart

✓ Published0🌍 Public
Ssnehareddygurram
Last edited Mar 24, 2023
Created on Mar 24, 2023
Forked from Pie Chart

This fork of a pie chart visualizes the latitude and longitude of country locations from a CSV dataset. The code uses d3.pie, d3.arc, and d3.scaleOrdinal with schemeCategory10 to create the SVG segments, while loading data via d3.csv. It also generates a legend with color swatches and labels, and tooltips log values on mouseover. The chart is built in a React project using d3 v5, rendering to an SVG element.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes