Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity6_population_question1

Public visualization

Activity6_population_question1

0 stars13🌍 Public
Cchandrikachowdary867@gmail.com
Last edited Apr 9, 2024
Created on Apr 9, 2024
Forked from Hello VizHub

This example demonstrates a simple data visualization that displays a text message centered on a web page. It uses D3 v5 (loaded via UNPKG) and HTML/CSS to render the output, with the `select` API from D3 targeting the `#message` div to set its content. The code imports a local ES6 module (`myMessage.js`) to supply the displayed text and uses a regular expression and a constant variable to illustrate basic JavaScript functionality within the VizHub environment.

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