🌍 Public
Cars Scatter Plot
This scatter plot visualizes the relationship between horsepower and weight for various car models, with each circle representing a vehicle. The chart uses D3 v5's `scaleLinear`, `axisBottom`, and `axisLeft` to construct the axes, while `extent` determines the domain from the data. The SVG rendering includes grid lines via tick sizes and a rotated y-axis label. Data comes from the auto-mpg dataset loaded with `csv`, and parsed numeric values feed the scales. Circles are rendered semi-transparent red with a fixed radius, and margins position the chart within a 960x500 viewport.
AI-generated descriptionThis is a bar chart shows population of the top 10 most populous countries. The data comes from the year 2019 estimates in World Population Prospects 2019
MIT Licensed
Comments
Sign in to join the discussion.