🌍 Public
Viewing a saved revision (read-only)
3f2adf5f85fa4f2ea10c88bef7e4cb26
Hello VizHub
This example demonstrates a bar chart visualization that displays categorical data from a default table, with bar heights scaled to the maximum metric value. The chart is rendered on a Canvas element, where the dimensions and metrics are drawn as filled rectangles and text labels. The code uses the Canvas API for drawing, `dscc.subscribeToData` for data subscriptions, and `dscc.objectTransform` for data transformation, while the styling is controlled by a custom color property and an external stylesheet.
AI-generated descriptionAn example showing the capabilities of VizHub.