Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Victory!

Public visualization

Viewing a saved revision (read-only)

f35a72780ea741a0a05c8212a9b6e467

Victory!

0 stars41🌍 Public
CCurran Kelleher
Last edited Dec 28, 2019
Created on Apr 1, 2019

A bar chart displays population estimates for ten countries, from China down to Mexico, using data loaded from a CSV file. The visualization is built with React and Victory’s `VictoryBar` and `VictoryChart` components, while D3’s `csv` function handles the data parsing. The chart renders in a browser with a fixed width of 960 pixels, using default Victory styling for the bars and tick labels.

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.