ICE-6: Rendering Marks and Channels with React & D3
✓ Published0🌍 Public
PPYATA SHARAN
Last edited Mar 9, 2023
Created on Mar 8, 2023
This horizontal bar chart displays the cost of F1 TV Pro subscriptions across 18 countries, using a linear scale for cost and a band scale for country names. Built with React and D3 v5, it renders SVG rectangles whose widths encode the price values, with manually drawn axes and grid lines. The data is loaded asynchronously from a CSV file via d3.csv, and React’s useState and useEffect manage the data-fetching lifecycle.
AI-generated descriptionA bare minimum HTML page.
MIT Licensed