Skip to main content
Publishing & handoff

Current visibility: 🌍 Public. Copying a link or embed does not give visitors access to restricted visualizations or private project datasets.

Existing export choices

Project dataset ZIP export is unavailable without project read permission.

🌍 Public

Share visualization

Send this visualization to others.

Flowers Forks D3!

Public visualization

Viewing a saved revision (read-only)

5ace0f531e914c08878b680badbc0dbb

Flowers Forks D3!

1 star0🌍 Public
NNanditha Reddy
Last edited Mar 19, 2024
Created on Feb 23, 2024
Forked from Flowers with D3

This bar chart visualizes predicted population values across cities, with each city’s population represented by a yellow bar on a black axis. Built with D3 v5, it loads CSV data via `d3.csv`, scales the x-axis with `scaleBand` and the y-axis with `scaleLinear`, and renders axes using `axisLeft` and `axisBottom`. The chart uses an SVG container and applies a custom CSS class for bar styling, while the y-axis domain is set from zero to the maximum population value. Data is fetched from a remote GitHub gist URL.

AI-generated description

Creating flowers with D3.

The height of each individual flower can be changed by editing an array.