Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Hello VizHub

Public visualization

Viewing a saved revision (read-only)

4af38b03f0ba4ef0879f94145bf96b9a

Fork of Hello VizHub

0 stars0🌍 Public
FFarhodXoliyarov
Last edited Oct 13, 2022
Created on Oct 13, 2022
Forked from Hello VizHub

This example demonstrates how VizHub loads D3 from a CDN and uses ES6 modules to compose a simple text display. It imports the `select` function from D3 v5 and a local `message` string from `myMessage.js`, then sets the text content of the `#message` div with `select('#message').text(message)`. The page includes a linked `styles.css` file that centers the text and sets its font size to 12em. The visualization is minimal, showing only the integration of external libraries, local modules, and styling.

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.