Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

assignment 2 3q

Public visualization

Viewing a saved revision (read-only)

4eb4ac4d0e444169a9efa3885f624f0d

assignment 2 3q

0 stars0🌍 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