Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Victory!

Public visualization

Victory!

0 stars1🌍 Public
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