Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars0🌍 Public
Nnils
Last edited Oct 4, 2019
Created on Oct 4, 2019
Forked from Hello VizHub

This example displays the make of the first car from a small inline dataset, rendered as large text in a dark themed report. It demonstrates basic ES6 module imports and data handling in D3 v5. The code parses a JSON string into a `cars` array using `JSON.parse`, then accesses `cars[0].make` to update the page. The single message replaces the content of a `<pre>` element via `document.getElementById`, with styling applied through an external Ubuntu font stylesheet.

AI-generated description

An example showing the capabilities of VizHub.

Comments

Sign in to join the discussion.

MIT Licensed