Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ACTIVITY

Public visualization

ACTIVITY

0 stars0🌍 Public
Llokeshchowdary465@gmail.com
Last edited Apr 21, 2024
Created on Apr 21, 2024

This example demonstrates how to set up a minimal visualization gallery page using D3.js and ES6 modules. It shows a simple message displayed in large text, rendered by selecting a DOM element with `d3.select` and setting its content. The code imports the `select` function from D3 via `import { select } from 'd3'`, loads D3 from a CDN (UNPKG), and uses a local ES6 module to supply the message text. The styling and layout are handled by a linked CSS file.

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