🌍 Public
Viewing a saved revision (read-only)
9a62db51430546b584e72c1d22a66e5b
Hello VizHub
This example demonstrates how to create a simple SVG visualization using D3.js within the VizHub environment. The code imports the `select` function from the D3 library and applies it to the page’s `svg` element, setting its background color to red. The accompanying HTML loads D3 v5.9.1 from a CDN and defines an empty 560×960 SVG canvas, while the CSS styles the page background, text, and font using the Ubuntu typeface from Google Fonts. The result is a minimal, static visual with no data processing or interactive elements.
AI-generated descriptionAn example showing the capabilities of VizHub.