Skip to main content
100%

A Bar Chart of the Car Seliing Details

✓ Published1🌍 Public
RRyanYun0017
Last edited Nov 4, 2021
Created on Sep 22, 2021
Forked from Making a Bar Chart

This bar chart displays car selling prices (in millions of INR) against the car’s production year, with each bar’s length representing price and its vertical position corresponding to the year. The visualization uses D3 v5’s `scaleLinear` for the price axis and `scaleBand` for the year categories, with bars sorted by year in descending order. The `axisLeft` and `axisBottom` APIs label the axes, and the chart is rendered as an SVG using React, with data loaded from a CSV via `csv()` and preprocessed to convert prices to millions.

AI-generated description

This is a bar chart about how the car's selling price corelated to it's producing year. Gist[https://gist.github.com/RyanYun0017/50ece33c48c959e86c1d3840b9ac811f]

This work is forked from 'Makeing a Bar Chart'[https://vizhub.com/curran/326730c80fc54969ae501fb58c8cb94b]

MIT Licensed

Similar vizzes