Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE_6

Public visualization

Fork of ICE_6

0 stars0🌍 Public
99176371431
Last edited Mar 9, 2023
Created on Mar 9, 2023
Forked from ICE_6

This example demonstrates how to set text content in a webpage using D3. It loads D3 v5 via UNPKG and uses the `select` function to target a `div` with the id `message`. The text comes from a local ES6 module, `myMessage.js`, which exports a string. The page then displays the message centered with large font styling from an external CSS file, illustrating basic module imports and DOM manipulation.

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.

Comments

Sign in to join the discussion.

MIT Licensed