|
1 | 1 | # 5. Plotly
|
2 | 2 |
|
3 |
| - |
4 |
| - |
5 |
| -<figure><img src="../.gitbook/assets/image (40).png" alt="" width="269"><figcaption></figcaption></figure> |
| 3 | +<figure><img src="../.gitbook/assets/image (257).png" alt="" width="515"><figcaption></figcaption></figure> |
6 | 4 |
|
7 | 5 | 1. Select _**Plotly**_ in the _**Visualization**_ category.
|
8 | 6 |
|
| 7 | +<figure><img src="../.gitbook/assets/image (258).png" alt="" width="563"><figcaption></figcaption></figure> |
9 | 8 |
|
10 |
| - |
11 |
| -<figure><img src="../.gitbook/assets/image (41).png" alt=""><figcaption></figcaption></figure> |
12 |
| - |
13 |
| -2. _**Import Package**_: Install the necessary packages(Plotly) for code execution. |
14 |
| -3. _**Import Library**_: Import the libraries required for code execution. |
15 |
| -4. _**Preview**_: Preview the chart that will be generated. |
16 |
| -5. _**Code**_ _**View**_: Preview the code that will be generated. |
17 |
| -6. _**Run**_: Execute the code. |
| 9 | +2. _**Import Package**_: Install the package you need to run your code (Plotly). |
| 10 | +3. _**Import Library**_: Import the libraries needed to run your code. |
| 11 | +4. _**Preview**_: You can preview the graph that will be generated. |
| 12 | +5. _**Code View**_: You can preview the code that will be generated. |
| 13 | +6. _**Run**_: Print and run the code. |
18 | 14 |
|
19 | 15 |
|
20 | 16 |
|
|
32 | 28 |
|
33 | 29 | ### Data
|
34 | 30 |
|
| 31 | +<figure><img src="../.gitbook/assets/image (259).png" alt="" width="563"><figcaption></figcaption></figure> |
35 | 32 |
|
36 |
| - |
37 |
| -<figure><img src="../.gitbook/assets/image (42).png" alt=""><figcaption></figcaption></figure> |
38 |
| - |
39 |
| - |
40 |
| - |
41 |
| -1. _**Chart Type**_: Select the type of chart. |
42 |
| -2. _**Data**_: Choose the data to be represented in the chart. You can also select a specific column of a DataFrame through the _**Funnel Icon**_. _**Set X and Y Individually**_ allows selecting data from different DataFrames. |
43 |
| -3. _**Axis Value**_: Select the data to be used on each axis. |
44 |
| - |
45 |
| -  _**Values**_ (Pie Chart): Choose the data to represent the size of each section in a Pie Chart. |
46 |
| - |
47 |
| -  _**Names**_ (Pie Chart): Choose the data to represent the names of each section in a Pie Chart. |
48 |
| - |
49 |
| -  _**Parents**_ (Sunburst): The Sunburst chart represents hierarchical data in a circular form. Select the data indicating which parent section each segment belongs to. |
50 |
| - |
51 |
| -4. _**Color**_: Enable the use of color and choose the color of the graph. |
52 |
| -5. _**Sort**_: Specify the order of categories on the X-axis. Descending arranges columns from the highest to the lowest amount of data. |
53 |
| -6. _**User Option**_: Optionally provide additional desired options. |
| 33 | +1. _**Chart Type**_: Select the type of graph. |
| 34 | +2. _**Data**_: Select the data you want to graph. To select a specific column, use the funnel icon. If you want to set X and Y separately, check _**Set X and Y individually**._ |
| 35 | +3. _**Axis Value**_: Select the data you want to use for each axis. |
| 36 | + 1. _**Values (Pie Chart)**_: Select the data to represent the size of each section. |
| 37 | + 2. _**Names (Pie Chart)**_: Select the data to represent the name of each section. |
| 38 | + 3. _**Parents (Sunburst)**_: _Sunburst_ charts represent hierarchical data in a circle; select the data that represents the parent section to which each segment belongs. |
| 39 | +4. _**Color**_: You can check _**Use Color** to_ enable the use of color and select a color for the graph. |
| 40 | +5. _**Sort**_: Specify the order of the categories on the X-axis. Descending order sorts from the column with the most data to the column with the least. |
| 41 | +6. _**User Option**_: You can add additional code beyond the functionality provided by Visual Python. |
54 | 42 |
|
55 | 43 |
|
56 | 44 |
|
57 | 45 | ***
|
58 | 46 |
|
59 | 47 | ### Info
|
60 | 48 |
|
| 49 | +<figure><img src="../.gitbook/assets/image (260).png" alt="" width="563"><figcaption></figcaption></figure> |
61 | 50 |
|
62 |
| - |
63 |
| -<figure><img src="../.gitbook/assets/image (44).png" alt=""><figcaption></figcaption></figure> |
64 |
| - |
65 |
| -1. _**Title**_: Specify the title of the chart. |
66 |
| -2. _**Label**_: Specify the names of each axis. |
| 51 | +1. _**Title**_: Set a title for the figure. |
| 52 | +2. _**Label**_: Set a name for each axis. |
67 | 53 |
|
68 | 54 |
|
69 | 55 |
|
70 | 56 | ***
|
71 | 57 |
|
72 | 58 | ### Code
|
73 | 59 |
|
| 60 | +<figure><img src="../.gitbook/assets/image (261).png" alt="" width="563"><figcaption></figcaption></figure> |
74 | 61 |
|
75 |
| - |
76 |
| -<figure><img src="../.gitbook/assets/image (45).png" alt=""><figcaption></figcaption></figure> |
77 |
| - |
78 |
| -1. Additional code beyond the functionalities provided by Visual Python can be added. |
| 62 | +1. You can add additional code beyond what Visual Python provides. |
79 | 63 |
|
0 commit comments