Skip to main content
100%

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

✓ Published0🌍 Public
Mmanvithareddykarra
Last edited Mar 6, 2022
Created on Mar 6, 2022

This example shows the top 10 most populous companies ranked by 2020 sales using a horizontal bar chart. React manages component state while D3 functions such as `csv`, `scaleBand`, and `scaleLinear` handle data loading and scales. The visualization renders SVG rectangles with D3-style axes, including tick marks and labels. Data originates from a remote CSV file, and the React `useEffect` hook triggers the asynchronous data fetch.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes