ICE 6-15540639 Rendering Marks and Channels with React, D3
✓ Published0🌍 Public
This example visualizes the number of international students enrolled in UNT departments in 2016 using a horizontal bar chart rendered as SVG. The React component loads CSV data via `csv` and uses D3 scales (`scaleBand`, `scaleLinear`) to map department names to bar positions and student counts to bar widths. Custom tick marks and gridlines are drawn with D3 array methods, while React handles the SVG element creation through JSX. Styling uses pink background, green bars, and purple text labels.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed