Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

piechart_7 lewis

Public visualization

Viewing a saved revision (read-only)

60b07950530642fcb24a1987ab14f8e9

piechart_7 lewis

0 stars0🌍 Public
AABCDB15
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from Pie Chart

This pie chart displays the 2020 US car selling prices for different car models, with each slice representing a car and its corresponding price, along with a legend labeling each car name and its value. The visualization is built using D3.v5, loading CSV data via `d3.csv` from a Gist URL. The chart leverages D3's `pie`, `arc`, and `scaleOrdinal` APIs to generate SVG segments, with a custom color palette and formatted price labels showing values in thousands. The SVG output includes both the pie chart centered on the canvas and a legend positioned to the right.

AI-generated description