Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

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

0 stars0🌍 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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed