Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Area Chart

Public visualization

Viewing a saved revision (read-only)

2e49fb2a4a0441e9b3b4685005548d93

Area Chart

0 stars0🌍 Public
Ddldowning
Last edited Mar 26, 2023
Created on Mar 26, 2023
Forked from Line Chart

This area chart compares poverty percentage and blacksmith percentage across fantasy worlds, using a steelblue filled area to suggest a possible trend between the two variables. The visualization sorts the data by blacksmith percentage before rendering, making the progression along the x-axis easier to follow. Built with React and D3 v5, the code uses `d3.csv`, `scaleLinear`, `d3.area`, `axisLeft`, and `axisBottom` to load, scale, and draw the SVG output. Data comes from a GitHub gist, and the example questions whether any relationship exists between the two metrics.

AI-generated description

React Starter code.