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
Ggeethikal
Last edited Mar 10, 2023
Created on Mar 10, 2023

This visualization presents a horizontal bar chart showing the basic cost of Netflix subscriptions across 15 countries, sourced from a CSV file. Built with React and D3 v5, it uses `scaleBand` for the categorical country axis and `scaleLinear` for the numeric cost axis. The code manually renders SVG gridlines, axis tick labels, and data rectangles using JSX elements, demonstrating a React component that manages CSV loading via `useEffect` and `useState` while delegating scale computations to D3.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed