Fork of ICE-6: Rendering Marks and Channels with React & D3
✓ Published1🌍 Public
Nnsatyaprakash22
Last edited Mar 8, 2023
Created on Mar 8, 2023
A horizontal bar chart displays the basic cost of Netflix subscriptions across fifteen countries, with country names on the y-axis and cost values on the x-axis. Using React hooks (`useState`, `useEffect`) to manage data loading, the code fetches a CSV file via `d3.csv`, then renders SVG rectangles scaled with `d3.scaleBand` and `d3.scaleLinear`. Axis ticks are manually generated, and the visualization uses blue vertical gridlines with labeled tick values.
AI-generated descriptionA bare minimum HTML page.
MIT Licensed