Fork of ICE-6: Rendering Marks and Channels with React & D3
✓ Published0🌍 Public
Ggayathri
Last edited Mar 5, 2022
Created on Mar 5, 2022
This example presents a horizontal bar chart of the top 10 most populous states, sourced from a CSV of 2019 population data. It demonstrates integrating React with D3, using React hooks for state management and D3’s `csv`, `scaleBand`, and `scaleLinear` to load data and compute scales. The SVG rendering maps population values to bar widths, with axes and tick labels generated manually via React components.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed