Skip to main content
100%

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

✓ Published0🌍 Public
Aavvarijayakrishna99@gmail.com
Last edited Mar 3, 2023
Created on Mar 3, 2023

This example displays a horizontal bar chart comparing basic Netflix subscription costs across fifteen countries. Built with React and D3 v5, the visualization uses D3's `scaleBand` and `scaleLinear` to map country names and dollar amounts to SVG rectangles. The code loads data from a remote CSV file using D3's `csv` parser, then renders the chart with React's declarative JSX syntax. Grid lines, axis ticks, and bar labels are generated by mapping over the D3 scale domains.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes