import { AreaBump, Bar, Bullet, Bump, Calendar, Chord, Choropleth, CirclePacking, Funnel, GeoMap, HeatMap, Line, Marimekko, Network, ParallelCoordinates, Pie, Radar, Sankey, ScatterPlot, Stream, Sunburst, SwarmPlot, TreeMap, Voronoi, Waffle, } from './charts' import { BrowserRouter as Router, Route, Routes, useLocation, } from 'react-router-dom' import { css } from 'otion' import { useChart } from './hooks' import ChartContainer from './ChartContainer' import Navigation from './Navigation' console.clear() function Title() { const [, flavor] = useChart() const { pathname } = useLocation() const title = pathname .slice(1) .split('-') .concat(flavor === 'svg' ? '' : flavor) .map((text) => text.replace(/((^| )(.))/g, (letter) => letter.toUpperCase()) ) return

{title}

} function Welcome() { return (
Welcome to nivo's CodeSandbox examples!

Here would be a great starting point to fork and create a reproduction for your bug report.

This example will also be built with every PR and make it easier to verify a bugfix or new feature.

You can get started by selecting the chart from the left side menu. You can find the charts in src/charts to modify to your needs.
) } export default function App() { return (
}> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } /> } />
) }