Skip to main content
100%

Lets make a face with D3.js

✓ Published0🌍 Public
Ccelyounan
Last edited Aug 3, 2021
Created on Aug 3, 2021
Forked from Hello VizHub

This example demonstrates basic D3.js and JavaScript module usage by displaying the text “Hello VizHub!” in a large, centered message. It loads D3 v5 via UNPKG and uses the `select` API to target a `#message` div, setting its text content from a local ES6 module (`myMessage.js`). The SVG element is defined in the HTML, though this specific visualization focuses on the text rendering and module integration rather than drawing shapes. The styles.css file controls the text appearance with CSS.

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