Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Victory!

Public visualization

Viewing a saved revision (read-only)

3c6aa9e7f0984bf4a5b2729092a4b6a0

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.