Cars Scatter Plot
✓ Published0🌍 Public
This scatter plot visualizes relationships between engine cylinders and horsepower in the auto-mpg dataset, with each vehicle represented as a circle. The code uses D3 v5’s `scaleLinear` for the x-axis, `scalePoint` for the y-axis, and `axisLeft` and `axisBottom` to render gridlines and ticks. Data is loaded via `csv` from a remote URL, with numeric fields parsed before plotting. SVG circles are positioned using the scales, and axis labels are customized with formatting and styling.
AI-generated descriptionThis bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.
MIT Licensed