ICE-6: Rendering Marks and Channels with React & D3
✓ Published0🌍 Public
This example displays average software developer salaries for 15 metropolitan areas using horizontal bars. It uses React to render SVG marks and D3 v7 scales and axes. The code fetches CSV data with `d3.csv`, applies a linear scale for salary values, and a band scale for metro names. Axes are drawn manually with ticks, lines, and text elements using D3 helper methods.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed