Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

d3.js

Public visualization

d3.js

0 stars0🌍 Public
JJiapengFan
Last edited Jun 4, 2020
Created on Jun 4, 2020
Forked from d3.js

This example demonstrates a simple data visualization of population figures for the ten most populous countries, loaded from a local CSV file. The code randomly assigns three distinct colors to a set of five spatial points, initializing centroids with unique identifiers and color fills using `d3.scaleOrdinal` and `d3.schemeCategory10`. The SVG canvas renders the output, though the points themselves are not drawn on screen. It relies on D3 v5 and a bundled JavaScript file, with styling defined in an external CSS file.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed