Fork of ICE-6: Rendering Marks and Channels with React & D3
✓ Published0🌍 Public
MM
Last edited Mar 13, 2024
Created on Mar 13, 2024
This visualization shows the basic monthly cost of Netflix in the top 15 countries, rendered as horizontal bars in an SVG. It uses React for component state and lifecycle, loading the CSV dataset with the `csv` function from D3. The visualization manually constructs x- and y-axes using `scaleLinear` and `scaleBand`, drawing tick marks and labels as SVG elements without the axis helper components, and maps each country to a `rect` bar scaled by its cost.
AI-generated descriptionA bare minimum HTML page.
MIT Licensed