Skip to main content
Public

Share visualization

Loading preview…

ICE6-submitted by Tejaswi Tummala

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

ICE6-submitted by Tejaswi Tummala

0
Tttummala17
Last edited Jun 26, 2022
Created on Jun 25, 2022
Forked from React Starter

This visualization displays the top five countries by population using a horizontal bar chart. The bars are rendered as red SVG rectangles within a React application, with blue grid lines and axis labels. The code employs D3.js modules including `csv`, `scaleBand`, `scaleLinear`, and `max` to load and scale the data. The chart is built with React's `useState` and `useEffect` hooks, while ReactDOM renders the final SVG output. Data is fetched from a CSV hosted on GitHub gists.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed