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
Bbindusreeja
Last edited Jun 25, 2022
Created on Jun 25, 2022

This visualization displays a horizontal bar chart comparing the basic monthly internet cost for the first 12 countries from a CSV dataset. The chart uses SVG rendering within a React application, combining React state management with D3.js scales and layout functions. It leverages D3's `scaleBand` for the categorical country axis, `scaleLinear` for the continuous cost axis, and `max` to determine the domain. The code manually renders axis ticks and gridlines using D3's `ticks()` method, creating an interactive-free static representation of the data.

AI-generated description

A whole smiley face

Comments

Sign in to join the discussion.

MIT Licensed