Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Pie Chart

Public visualization

Fork of Pie Chart

0 stars0🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed