Skip to main content
100%

Cars report

✓ Published1🌍 Public
WWeiyiDeng
Last edited Feb 22, 2022
Created on Feb 22, 2022
Forked from Hello VizHub

This example displays a simple “Hello VizHub!” message in large, centered text, demonstrating the foundational workflow of a D3.js project. It loads D3 v5 from UNPKG via a CDN script tag, then uses the `select` function from D3 to set the text content of a `div` with the ID `message`. The message string is imported from a local ES6 module (`myMessage.js`), showcasing how to combine external libraries with modular JavaScript code. Styling is handled through an external CSS file that controls font size and alignment.

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