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
Mmanvithareddykarra
Last edited Mar 6, 2022
Created on Mar 6, 2022

This interactive bar chart displays the top 10 most profitable countries from a sample sales record dataset. The visualization uses React with D3.js v5 to render SVG marks and channels, with the chart loading data from a GitHub-hosted CSV file. Rects encode profit values through their width along a linear scale, while country names are positioned on a band scale. The implementation leverages React's state management and useEffect for data fetching, alongside D3's scaleBand, scaleLinear, and csv parsing utilities.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed