Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Victory!

Public visualization

Fork of Victory!

0 stars0🌍 Public
Ssucotton9
Last edited Jul 15, 2021
Created on Jul 15, 2021
Forked from Victory!

A bar chart displays migrant counts across fourteen countries, with migrants on the vertical axis and country names along the horizontal. The visualization uses VictoryBar and VictoryChart within a React component, loading CSV data asynchronously via d3.csv and React hooks. Data is parsed with a row function that converts the Migrants field to numbers, while the chart applies custom styling, padding, and domain padding for readability.

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