Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Homework2(a1-cars.csv)-Zhenyong Ren

Public visualization

Homework2(a1-cars.csv)-Zhenyong Ren

0 stars0🌍 Public
Zzren2
Last edited Mar 13, 2019
Created on Mar 13, 2019
Forked from Making a Bar Chart

This visualization displays car data from the a1-cars.csv dataset, mapping acceleration values to horizontal bar lengths across car models. The chart uses D3 v5 with SVG rendering, employing `scaleLinear` for the x-axis, `scaleBand` for the y-axis, and `axisLeft`/`axisBottom` for labels. Acceleration values are multiplied by 1000 before drawing, and bars appear in steelblue via `g.selectAll('rect')`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed