Fork of Fork of Fork of HTML Starter
✓ Published0🌍 Public
This visualization combines a pie chart and a line chart to explore 2022 USA auto sales by brand. The pie chart shows each brand’s year-to-date sales as a proportion of the total, with colored segments and a legend displaying percentages and sales values in thousands. The line chart tracks monthly electronics sales, using a point scale for months and a linear scale for sales figures. The code uses D3’s `pie`, `arc`, `scaleOrdinal`, `scalePoint`, `scaleLinear`, and `line` APIs, loading data from a CSV via `d3.csv`.
AI-generated descriptionMIT Licensed