Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

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

Public visualization

Viewing a saved revision (read-only)

8b93ce8d90274ba9abb61fcbb17725d4

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

0 stars0🌍 Public
Kkarnisrikanth2212
Last edited Mar 12, 2023
Created on Mar 12, 2023

This visualization shows the basic cost of Netflix subscriptions across different countries with live data. It renders a bar chart using React to manage the component structure and D3 to calculate scales, axes, and positions. The code imports data from a CSV file and uses `d3.scaleBand` for the x-axis and `d3.scaleLinear` for the y-axis. It employs `d3.axisBottom` and `d3.axisLeft` to create labeled axes, while a tooltip appears on hover. The visualization updates smoothly through React’s state management, combining declarative UI with D3’s data-driven utilities.

AI-generated description

A bare minimum HTML page.