Fork of ICE-6: Rendering Marks and Channels with React & D3
✓ Published0🌍 Public
Kkalyanikotha
Last edited Mar 6, 2022
Created on Mar 6, 2022
This example shows the top ten bicycle companies by 2018 sales as a horizontal bar chart, styled with pink bars on a red background. The visualization is built with React and D3 v5, using `d3.scaleBand` for the y-axis company labels and `d3.scaleLinear` for the x-axis sales values. Data is loaded asynchronously from a CSV file via `d3.csv`, and the SVG rendering is handled through ReactDOM, with axes and gridlines created using D3's `scale.ticks()` method.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed