Skip to main content
100%

Fork of ICE-6: Rendering Marks and Channels with React & D3

✓ Published0🌍 Public
Kkarnisrikanth2212
Last edited Mar 11, 2023
Created on Mar 11, 2023

This example visualizes the basic cost of Netflix subscriptions across fifteen countries using a horizontal bar chart. It combines React for component structure and state management with D3 v5 for data loading and scale construction, rendering SVG elements directly through JSX. The code employs `d3.csv` to fetch data, `scaleBand` and `scaleLinear` for positioning, and manually generates axis ticks and gridlines. Bar widths encode the numeric cost values, and the chart is styled with a fixed size and margins.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes