ICE-6: Rendering Marks and Channels with React & D3
✓ Published0🌍 Public
VVaishnavi6199
Last edited Mar 27, 2022
Created on Mar 6, 2022
This bar chart displays the number of units purchased per person, using the top 10 records from a CSV dataset. The chart is built with React and D3, rendering SVG elements directly. It uses `d3.scaleBand` for the categorical y-axis (person names) and `d3.scaleLinear` for the numeric x-axis (units), with the bar widths mapped to the `Units` field and axis ticks generated from `xScale.ticks()`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed