Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Text Visualization

Public visualization

Viewing a saved revision (read-only)

9a1e412c1e904531bd92417b54f20705

D3 Text Visualization

0 stars0🌍 Public
Ffaiqradzali
Last edited Feb 29, 2020
Created on Feb 29, 2020
Forked from HTML Starter

This visualization displays suicide count data for Albania aggregated by year using bar charts. The code loads a CSV file containing suicide statistics and filters records for the selected country. It calculates yearly totals by summing suicide numbers across different demographics. Each bar’s length is determined by multiplying the suicide count by a scale factor, with the year value shown as text alongside each bar. The visualization uses d3.csv for data loading and d3-selection with SVG elements (rect and text) for rendering the final bar chart.

AI-generated description

A bare minimum HTML page.

See also React Starter.