🌍 Public
Viewing a saved revision (read-only)
b2369934976647bb8c604047bc7d69b4
Fork of Fork of Fork of HTML Starter
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 description