Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

React 201

Public visualization

Viewing a saved revision (read-only)

71bc0e9e28884f4d8d182fdc03a7d7f2

React 201

0 stars4🌍 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.