Skip to main content
100%

Cars

✓ Published0🌍 Public
Nnikhilkashid3593
Last edited Nov 8, 2021
Created on Nov 8, 2021
Forked from Hello VizHub

This example displays the message “Hello VizHub!” centered on the page using the D3 library loaded from a CDN. The code demonstrates ES6 module imports for local files, specifically importing a message constant from `myMessage.js`. It uses `document.getElementById` to set the text content of the `#message` div, with styling applied through `styles.css` for large, centered typography. The visualization is static, showcasing basic DOM manipulation and module integration within the VizHub environment.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes