Skip to main content
100%

Victory!

✓ Published1🌍 Public
RRachel Ombok
Last edited Aug 16, 2020
Created on Aug 16, 2020
Forked from Victory!

A horizontal bar chart displays the populations of ten countries, from China with over 1.4 million people to Mexico. Built with React and the Victory Charts library, the visualization uses the `csv` function from d3 to load the data from a CSV file into a React hook's state. The `VictoryChart` and `VictoryBar` components render the plot with custom tick label styling and a controlled layout.

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.

MIT Licensed

Similar vizzes