Skip to main content
100%

data viz project

✓ Published0🌍 Public
Nnawbx1
Last edited May 7, 2022
Created on May 5, 2022
Forked from data viz project

This example displays a horizontal bar chart ranking Tunisian cities by population, using D3.js to bind data from a CSV file and render SVG rectangles. The chart includes a red title and x-axis label, with population values formatted using abbreviated notation. The code demonstrates fundamental D3 selections, scales, and axes, specifically using `d3.csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`. It also applies data transformation by multiplying each population value by 1000 before rendering.

AI-generated description

Demonstrates fundamental DOM manipulation using D3.js by making a smiley face whose eyebrows move.

MIT Licensed

Similar vizzes