Skip to main content
100%

ICE - 6 Marks and Channels (11508271)

✓ Published0🌍 Public
Aabdulmoin9624
Last edited Mar 7, 2022
Created on Mar 7, 2022
Forked from HTML Starter

A bar chart displays the top ten car models by first-quarter sales, ranked by year along the vertical axis and price along the horizontal axis. The visualization uses React state to load CSV data via `d3.csv`, then renders SVG rectangles with blue fills and yellow strokes. Scales are created with `d3.scaleBand` and `d3.scaleLinear`, while axis ticks and grid lines are generated manually using `xScale.ticks()` and SVG elements. The chart title appears above the visualization, and the y-axis labels show the year for each bar.

AI-generated description

Rendering of Marks and channels with React & D3.

MIT Licensed

Similar vizzes