Skip to main content
100%

Viz Test

✓ Published0🌍 Public
RRan Guin
Last edited Nov 28, 2020
Created on Nov 28, 2020
Forked from HTML Starter

This example renders a static SVG visualization of a blue circle centered on a 600x400 canvas, with a hardcoded dataset of five countries and their GDP values prepared for display using D3’s `scaleOrdinal` and `schemeDark2` color scale. The code uses `d3.select` to append the circle and defines the data array, though no bar chart or other shapes are actually drawn from the dataset. The page loads D3 v6 via a CDN, and the SVG is styled with basic attributes like `stroke` and `fill`.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes