Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Hello VizHub

Public visualization

Viewing a saved revision (read-only)

7dc117c1f18a450b9624604d61a34ea2

Fork of Fork of Hello VizHub

0 stars1🌍 Public
Llikhithamettukuru@gmail.com
Last edited Nov 4, 2024
Created on Nov 4, 2024

This example displays the top ten happiest countries in plain HTML, ranked by overall score, with columns for rank, country, and score. It uses a static JavaScript array as its data source and dynamically populates a table by creating and appending `tr` elements to the `tbody` via `document.createElement` and `innerHTML`. The visualization is a straightforward tabular listing without any charting or mapping libraries, relying solely on standard DOM manipulation. It offers a clean, text-based view of the World Happiness Report rankings.

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.