Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

Viewing a saved revision (read-only)

3695838c9b19434eaca715a02c5fce72

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

0 stars1🌍 Public

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 description

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

See also React Starter.