Fork of ICE-6: Rendering Marks and Channels with React & D3
✓ Published0🌍 Public
SSaiipriiya
Last edited Mar 6, 2023
Created on Mar 6, 2023
This interactive bar chart visualizes product sales across 15 countries, encoding country names on the y-axis and sales values on the x-axis. Built with React and D3 v5, it uses `scaleBand` and `scaleLinear` for axes, rendered as SVG rectangles. Data loads from a CSV via `d3.csv`, with grid lines drawn from `xScale.ticks()`. The chart updates reactively using React state hooks, combining D3’s scaling and formatting utilities with React’s declarative component structure.
AI-generated descriptionA bare minimum HTML page.
MIT Licensed