Skip to main content
100%

HTML Starter

✓ Published0🌍 Public
Llinyyyyyyyyy
Last edited Dec 1, 2022
Created on Dec 1, 2022
Forked from Hello VizHub

This example demonstrates how to create a basic VizHub page using D3 v5 and ES6 modules. It displays a large, centered text message by leveraging D3’s `select` function to manipulate the DOM. The code imports both the D3 library via UNPKG and a local module (`myMessage.js`), showcasing modular JavaScript. Though the `cars.js` file contains a small dataset with car information, the page does not render or use this data in its current behavior.

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