Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Raing

Public visualization

Viewing a saved revision (read-only)

a3e0bf489b7f45e0973c1a05a6cf6dc4

Raing

0 stars0🌍 Public
JJayanthKumarkoni
Last edited Jul 22, 2023
Created on Jul 22, 2023
Forked from Hello VizHub

This example demonstrates how a D3.js v5 project can load the library from a CDN and use ES6 modules to structure code, displaying the text “Hello VizHub!” in the center of the page. The index.js file imports the `select` function from D3 and a local `message` constant, then applies it to set the content of a div. The HTML page links a CSS file for styling, and the accompanying README explains the project’s use of UNPKG and modular imports. The visualization is a simple, static text rendering rather than a data-driven graphic.

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.