Skip to main content
100%

Fork of ICE-6: Rendering Marks and Channels with React & D3

✓ Published0🌍 Public
Ddivyakota99
Last edited Jun 26, 2022
Created on Jun 26, 2022

A horizontal bar chart displays revenue per month for twelve products from a supermarket dataset, loaded via `d3.csv` from a GitHub Gist. React state and hooks manage the asynchronous data loading, while D3’s `scaleBand` and `scaleLinear` map product categories and revenue values to SVG rectangles. Axes and gridlines are manually rendered with D3’s `ticks` and positioned using SVG transforms, with React generating the markup for each element.

AI-generated description

A whole smiley face

MIT Licensed

Similar vizzes