Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE6

Public visualization

Viewing a saved revision (read-only)

1ed70ad1e89746a090ccd2c5d137a5e8

ICE6

0 stars1🌍 Public
Aashishkommanaveni05@gmail.com
Last edited Mar 9, 2026
Created on Mar 9, 2026
Forked from React & D3 Starter

This bar chart shows the average car price by brand using D3.js within a React application. The code uses `d3.text` to load the CSV file, `d3.csvParse` to parse the data, and `d3.rollup` to calculate the mean `PriceUSD` for each brand. Bars are rendered with `d3.scaleBand` for the x-axis and `d3.scaleLinear` for the y-axis, with axis labels generated via `d3.axisBottom` and `d3.axisLeft`.

AI-generated description