🌍 Public
Viewing a saved revision (read-only)
b4ab7425d1714aca98d74eeb0e6677f5
Cars Report
This example renders a single message, "Cars Report," centered on the page in large text. It demonstrates VizHub’s ability to import D3.js from UNPKG and use local ES6 modules. The code uses `d3.select` to target the `#message` div and set its text content, while a local `myMessage` module supplies the string. The visual output is purely typographic, styled via an external CSS file with centered alignment and a font size of 12em.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.