{"version":"1.0","type":"rich","title":"csvToChart1","description":"This example shows a bar chart of air pollutant measurements loaded from a CSV file, using React hooks to manage the data and Victory Charts to render the visualization. The code imports `csv` from d3 to parse the data and uses the `useState` and `useEffect` hooks to fetch and store the dataset. The `VictoryChart` and `VictoryBar` components display the parsed values, with the CSV containing columns for datetime, PM2.5, PM10, and other chemical concentrations. The chart is embedded in a React app rendered to the DOM with `ReactDOM.render`.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/3ef3218f7bcd46588e72fec731738139?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}