🌍 Public
Viewing a saved revision (read-only)
a9acbea52e7a47738ab7cf7dab699f4a
Fork of Fork of Fork of Fork of Fork of ICE-6: Rendering Marks and Channels with React & D3
VVaishnavi6199
Last edited Mar 6, 2022
Created on Mar 6, 2022
This visualization shows the number of units or items purchased by each of the top ten sales representatives from a CSV dataset loaded via `d3.csv`. It renders a horizontal bar chart using SVG where bar lengths encode the numeric "Units" values and the vertical axis lists the "Rep" names. Built with React and D3 v5, the app uses `d3.scaleBand` for the categorical y-axis, `d3.scaleLinear` for the quantitative x-axis, and `d3.max` to determine the scale domain, while React manages the state and re-renders the SVG marks.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.