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

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

0 stars0🌍 Public
Ggeethanjalikotaru
Last edited Mar 11, 2023
Created on Mar 11, 2023

A horizontal bar chart compares the basic monthly cost of Netflix in seven countries, with country names on the y-axis and cost values on the x-axis. The visualization uses React state and effects to load CSV data via `d3.csv`, then renders SVG marks with `d3.scaleBand` and `d3.scaleLinear` for positioning. Axes are built manually from scales, drawing grid lines and tick labels with React elements. The code highlights integration of React’s `useState` and `useEffect` with D3 utilities for data-driven SVG rendering.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed