Skip to main content
100%

D3 Course 2: Scatter Plot

✓ Published2🌍 Public
GGabrz
Last edited Apr 2, 2020
Created on Mar 26, 2020

This scatter plot visualizes the relationship between horsepower and weight for a dataset of cars, with each circle representing a vehicle. The visualization is built using D3 v5 with SVG rendering, employing `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to construct the axes and scales. Data is loaded asynchronously from a CSV file via `d3.csv`, with numeric fields parsed for accurate plotting. The chart includes labeled axes, a title, and semi-transparent red circles, with gridlines generated through tick size adjustments.

AI-generated description

Data Visualization with D3 course; Cars Scatter Plot

<h3>Creating a Scatter Plot</h3>
MIT Licensed

Similar vizzes