Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
emoji: ๐
|
4 |
colorFrom: green
|
5 |
colorTo: indigo
|
@@ -10,4 +10,38 @@ pinned: false
|
|
10 |
license: mit
|
11 |
---
|
12 |
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
+
title: Plotly-Graph-Objects-Treemap-101
|
3 |
emoji: ๐
|
4 |
colorFrom: green
|
5 |
colorTo: indigo
|
|
|
10 |
license: mit
|
11 |
---
|
12 |
|
13 |
+
๐ Randomized Treemap Graphs for Demonstrating Data Variation ๐
|
14 |
+
|
15 |
+
๐ Overview
|
16 |
+
- Introduction - Purpose - Data Visualization
|
17 |
+
|
18 |
+
๐งฎ Methodology
|
19 |
+
- Statistical Analysis - Random Sampling - Treemap Graphs
|
20 |
+
|
21 |
+
๐ Implementation - Rendering Charts with Streamlit - Example Code
|
22 |
+
|
23 |
+
๐ Conclusion - Summary - Use Cases - Fun Facts
|
24 |
+
|
25 |
+
๐ Overview ๐ Hello! In this article, we will learn about Randomized Treemap Graphs for Demonstrating Data Variation! ๐๐
|
26 |
+
|
27 |
+
๐งฎ Methodology:
|
28 |
+
1. ๐ Statistical Analysis: We'll use statistical analysis to demonstrate variation in data.
|
29 |
+
2. ๐ฒ Random Sampling: We'll generate random data to create our treemap graphs.
|
30 |
+
3. ๐ณ Treemap Graphs: We'll use treemap graphs to display our data in a visually engaging way.
|
31 |
+
|
32 |
+
๐ Implementation
|
33 |
+
1. ๐ Rendering Charts with Streamlit: We'll use Streamlit to render our treemap graphs.
|
34 |
+
2. ๐ Example Code: Here's an example code snippet to get you started!
|
35 |
+
|
36 |
+
```
|
37 |
+
import plotly.express as px
|
38 |
+
import streamlit as st
|
39 |
+
|
40 |
+
# Generate random data
|
41 |
+
data = px.data.tips()
|
42 |
+
fig = px.treemap(data, path=['day', 'time', 'value'], values='total_count')
|
43 |
+
|
44 |
+
# Render chart with Streamlit
|
45 |
+
st.plotly_chart(fig)
|
46 |
+
|
47 |
+
```
|