Skip to main content
100%

assignment 2 3q

✓ Published0🌍 Public
HHarshiiiiiiiip
Last edited Jul 18, 2023
Created on Jul 18, 2023

This scatterplot shows the relationship between horsepower and weight for a dataset of cars, with each point representing a vehicle. The visualization uses a linear scale to map both variables along the x and y axes, with gridlines and labeled axes for clarity. The code loads data from a local CSV file using d3.csv, transforms the numeric columns, and renders the chart as SVG circles using D3 v5's scaleLinear, axisBottom, and axisLeft APIs. The points are semi-transparent blue circles, and the chart includes a title and rotated axis labels.

AI-generated description
MIT Licensed

Similar vizzes