Skip to main content
100%

React 201

✓ Published4🌍 Public
Ddata-inside
Last edited Dec 10, 2020
Created on Nov 14, 2020
Forked from HTML Starter

This example demonstrates how React components render a list of jokes, conditionally displaying questions and answers from a static dataset. It uses React’s `map` method to transform joke objects into `Joke` components, with inline styles dynamically hiding questions and graying answer text when a question is absent. The code imports React and ReactDOM to mount the `App` component, while jokes are sourced from a local `jokesData.js` file. The visualization also references population data from World Population Prospects 2017, though that dataset is not used in the visible rendering.

AI-generated description

The data comes from the year 2018 estimate in World Population Prospects 2017.

MIT Licensed

Similar vizzes