Skip to main content
100%

Fork of #Utrecht2024 TASK: First steps in Svelte

✓ Published0🌍 Public
Kkatha.hofbauer@t-online.de
Last edited Jul 1, 2024
Created on Jul 1, 2024

This fork of #Utrecht2024 processes Gapminder CSV data, converting its strings to numbers with d3.autoType. The code uses `autoType` to parse the data before presenting it as raw JSON text. The example demonstrates the first steps of working with data in Svelte, where the loaded dataset includes GDP and life expectancy values. The visualization shows parsed data as a JSON output on screen, ready for a future Year 2022 filter and min/max analysis.

AI-generated description

Task

  • format the data: numbers should be numbers – not strings
  • filter and only use data of the year 2022
  • determine the min and max value of GDP and life expectancy

Original visualization

Interactive version

Data

Gapminder

MIT Licensed

Similar vizzes