Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Iihatelearning
Last edited Feb 12, 2021
Created on Feb 12, 2021
Forked from Hello VizHub

This example demonstrates how to build a simple HTML page using D3.js and ES6 modules. It loads D3 version 5 from UNPKG and uses `document.getElementById` to set text content inside a `<pre>` element, displaying the message "Hello World" from `index.js`. The page also imports a second message from a local ES6 module (`myMessage.js`) and renders it. The `styles.css` file applies large, centered typography to the message container, creating a visually clean display.

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