🌍 Public
Viewing a saved revision (read-only)
2983c00eeb6b447d9245b39831122848
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.