Skip to main content
Public

Share visualization

Loading preview…

Fork of ICE-6: Rendering Marks and Channels with React & D3

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of ICE-6: Rendering Marks and Channels with React & D3

1
VVAbhiram99
Last edited Mar 14, 2023
Created on Mar 14, 2023

This chart displays the basic monthly cost of Netflix in fifteen countries using a horizontal bar chart rendered as SVG. The visualization combines React for component state and rendering with D3 version 5 for data loading, scales, and layout. Bars are drawn with `scaleLinear` for the cost axis and `scaleBand` for country categories, while manually constructed gridlines and text labels replace D3’s axis components, and the data comes from a CSV file loaded via `d3.csv`. React’s `useState` and `useEffect` manage the asynchronous data fetching.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed