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
Aavvarijayakrishna99@gmail.com
Last edited Mar 3, 2023
Created on Mar 3, 2023

This example visualizes the basic Netflix subscription cost across fifteen countries using a horizontal bar chart rendered as SVG. React state manages the loaded CSV data, while D3’s scaleBand and scaleLinear handle the y-axis country categories and x-axis cost values. The chart draws grid lines, axis labels, and blue rectangles for each country, with D3’s csv parser fetching the dataset from a GitHub gist. Axes are constructed manually using scale methods and tick identifications rather than axis components.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed