Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

piechart_7 lewis

Public visualization

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

Comments

Sign in to join the discussion.

MIT Licensed