🌍 Public
Viewing a saved revision (read-only)
b9c61277edcc4ed882d3d32e35a50e68
Hello VX
This example shows a tooltip-interactive violin and box plot for five categories of generated statistics, rendered as an SVG with a gradient background and horizontal pattern fill for the violin densities. Built with React and the VX library, it uses `@vx/stats` for the `ViolinPlot` and `BoxPlot` components, `@vx/scale` for band and linear scales, and `@vx/pattern` for the line texture. Hovering over box plot elements triggers a tooltip via `withTooltip` from `@vx/tooltip`, displaying min, max, or full box plot statistics. Data comes from `genStats` in `@vx/mock-data`.
AI-generated descriptionReact starter code.