Fork of ICE-6: Rendering Marks and Channels with React & D3
✓ Published2🌍 Public
AAISWARYAMARAPATLA1999
Last edited Mar 8, 2023
Created on Mar 8, 2023
This bar chart visualizes the basic monthly cost of Netflix subscriptions across 15 countries, using horizontal bars scaled by price. Built with React and D3 v5, the code loads CSV data via `d3.csv`, then uses `scaleBand` for country categories and `scaleLinear` for cost values. The SVG rendering mixes React components for the chart structure with D3 helpers like `xScale.ticks()` for grid lines and axis labels. The visualization highlights pricing disparities, with bars drawn as `rect` elements and axes positioned through D3’s margin convention.
AI-generated descriptionA bare minimum HTML page.
MIT Licensed