🌍 Public
Fork of D3 Scatter Plot
This scatter plot visualizes BMW engine size versus price for model years 2010–2024, with each point colored by fuel type. The D3.js v7 code loads data from a CSV file and uses `d3.scaleLinear` for both axes, `d3.scaleOrdinal` with `schemeTableau10` for fuel type colors, and `d3.axisBottom` and `d3.axisLeft` for chart axes. The SVG rendering includes axis labels, a title, and a legend generated from the color domain.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.