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
Kkarnisrikanth2212
Last edited Mar 12, 2023
Created on Mar 12, 2023

This fork of the ICE-6 example displays the total sales for fifteen US states as a horizontal bar chart rendered with React and D3. The code uses D3’s `csv` to load data from a GitHub gist, `scaleBand` and `scaleLinear` for axes, and maps each state to a `rect` element. The SVG output is generated declaratively inside a React component, with grid lines and tick labels drawn manually.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed