Skip to main content
Public

Share visualization

Loading preview…

Victory!

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

Victory!

0
Mmanalhilali
Last edited Nov 29, 2020
Created on Nov 29, 2020
Forked from Victory!

A bar chart displays the populations of ten countries, with China and India leading by a wide margin. The visualization is built with Victory Charts and rendered in React, using the `VictoryBar` and `VictoryChart` components. Data is loaded asynchronously from a CSV file via D3's `csv` function, which parses the population column as numbers, and the resulting chart is styled with a custom font size and padding.

AI-generated description

This example shows how to load data from a CSV file using React hooks and visualize the result using Victory Charts. Inspired by this Victory example from Swizec Teller in React for Data Visualization.

Comments

Sign in to join the discussion.

MIT Licensed