🌍 Public
Viewing a saved revision (read-only)
70496eb4017d42fcad1bb917617e9752
Fork of Fork of ICE-6: Rendering Marks and Channels with React & D3
KKeerthipriyaBankuru
Last edited Jun 25, 2022
Created on Jun 25, 2022
This example shows a horizontal bar chart of cholesterol content for ten food items, sourced from a CSV file. The bars are rendered as SVG rectangles using React components. The code leverages D3's `scaleBand` and `scaleLinear` for coordinate mapping, and D3's `csv` for data loading, while React manages state and rendering the SVG elements.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.