--- title: Top 5% Income Share Visualization emoji: 📊 colorFrom: blue colorTo: indigo sdk: gradio app_file: app.py pinned: false --- # Top 5% Income Share Visualization This Gradio application allows you to visualize the 'Top 5% Income Share' for different countries over a selected year range, based on the provided `data.csv` file. ## Features: - **Interactive Entity Selection**: Choose one or more countries to compare their income share trends. - **Dynamic Year Range Selection**: Adjust the slider to focus on specific periods. - **Visual Trend Analysis**: View clear line plots showing the percentage change over years. - **Raw Data Display**: Option to show the underlying data in a table format. ## How to use: 1. Select the countries you wish to analyze from the '选择国家/地区' (Select Countries/Regions) checkboxes. 2. Adjust the '选择年份范围' (Select Year Range) slider to set your desired time frame. 3. Click the '生成图表' (Generate Chart) button to update the visualization. 4. Optionally, check '显示原始数据' (Show Raw Data) to view the filtered dataset. ## Data Source: Source: [Our World in Data](https://ourworldindata.org/grapher/top-5-income-share)