Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Renderizando dados com CSV, React & D3

Public visualization

Viewing a saved revision (read-only)

9705f78993d84177ab2e55762b4820dc

Renderizando dados com CSV, React & D3

0 stars1🌍 Public
RRodrigo Zanco
Last edited May 30, 2021
Created on May 30, 2021

This example renders the ten most populous countries from a UN population CSV dataset as horizontal bars in an SVG. It uses React hooks (useState, useEffect) to fetch and transform the data, then maps it to rectangles styled with d3.scaleBand and d3.scaleLinear for positioning and width. The visualization demonstrates a simple bar chart without axes or labels, relying on d3.csv for data loading and d3.max for domain calculation.

AI-generated description

Programa que renderiza dados usando React e processa o D3-arc. (radial burst).