Skip to main content
100%

都道府県別の人口 <style> body { margin: 0; overflow: hidden; } pre { font-size: 7em; } </style>

✓ Published0🌍 Public
Vvanquisher2000
Last edited Aug 7, 2021
Created on Aug 6, 2021

This example displays Japanese population data by prefecture from a CSV file, initially showing a loading message while fetching the data. The visualization uses React with hooks like `useState` and `useEffect` to manage asynchronous data loading via the `csv` function from d3.v5. The code processes each row to extract the prefecture name and concatenates them into a message string, which is then rendered as large text in a `<pre>` element. The layout of the page is a map of Japan, but the code focuses on printing the prefecture names as a text-based output.

AI-generated description
MIT Licensed

Similar vizzes