Fork of Pie Chart
✓ Published0🌍 Public
This fork of a pie chart visualizes the top 10 cars by fuel efficiency (mpg) from a dataset loaded via d3.csv. The chart uses d3.pie and d3.arc to render SVG slices, each labeled with its mpg value, and randomly assigned colors. A legend on the right side maps each car name to its corresponding slice. The code imports specific d3 utilities including select, csv, pie, arc, and format to handle the data, rendering, and text formatting.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed