Skip to main content
100%

Fork of Pie Chart

✓ Published0🌍 Public
Kkandulasunny17@gmail.com
Last edited Nov 5, 2024
Created on Nov 4, 2024
Forked from Pie Chart

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 description

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

See also React Starter.

MIT Licensed

Similar vizzes