Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Hello VizHub

Public visualization

Viewing a saved revision (read-only)

48e44a321c7c4152800996940ff6dc7c

Hello VizHub

0 stars1🌍 Public
GGlenn Henshaw
Last edited Sep 26, 2019
Created on Sep 26, 2019
Forked from Hello VizHub

This example demonstrates a simple text-based data visualization where city population data is sorted, formatted, and displayed as a list. It uses D3.js and ES6 modules to import and process data from a JSON array. The cities are sorted in ascending order by population using the sort method, then mapped to a readable string format. The formatted output is inserted into a pre element using the DOM API, with styling applied via an Ubuntu font from Google Fonts.

AI-generated description

An example showing the capabilities of VizHub.