Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Victory!

Public visualization

Victory!

0 stars0🌍 Public
117user21id
Last edited Oct 31, 2020
Created on Oct 31, 2020
Forked from Victory!

This example uses Victory Charts to render a bar chart of car horsepower from a CSV file. The chart displays each car model on the x-axis and its horsepower value on the y-axis, with data loaded via d3.csv. The React app fetches the data using a useEffect hook and state, then passes it to VictoryBar and VictoryChart components for visualization.

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