Download web/Plotly/pie/chart_0082_pie.html from chartact-benchmark/ChartAct: direct link, hf CLI and curl.
- Browser
- Download file 2.39 kB
-
https://huggingface.co/datasets/chartact-benchmark/ChartAct/resolve/main/web/Plotly/pie/chart_0082_pie.html
- Command line
-
hf download hf://datasets/chartact-benchmark/ChartAct/web/Plotly/pie/chart_0082_pie.html
-
curl -L -o chart_0082_pie.html https://huggingface.co/datasets/chartact-benchmark/ChartAct/resolve/main/web/Plotly/pie/chart_0082_pie.html
2.39 kB
| <html> | |
| <head><meta charset="utf-8" /><style>html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; }.plotly-graph-div { width: 100vw ; height: 100vh ; }</style></head> | |
| <body> | |
| <div> | |
| <script type="text/javascript">window.PlotlyConfig = {MathJaxConfig: 'local'};</script> | |
| <script charset="utf-8" src="plotly.min.js"></script> | |
| <div id="fcfb0443-0151-4ada-b539-4be3c83714ee" class="plotly-graph-div" style="height:100vh; width:100vw;"></div> | |
| <script type="text/plain" data-chart-inline="true"> | |
| { | |
| "library": "Plotly", | |
| "containerId": "fcfb0443-0151-4ada-b539-4be3c83714ee", | |
| "data": [ | |
| { | |
| "labels": [ | |
| "US", | |
| "China", | |
| "European Union", | |
| "Russian Federation", | |
| "Brazil", | |
| "India", | |
| "Rest of World" | |
| ], | |
| "name": "GHG Emissions", | |
| "values": [ | |
| 16, | |
| 15, | |
| 12, | |
| 6, | |
| 5, | |
| 4, | |
| 42 | |
| ], | |
| "type": "pie", | |
| "domain": { | |
| "x": [ | |
| 0, | |
| 0.45 | |
| ], | |
| "y": [ | |
| 0, | |
| 1 | |
| ] | |
| }, | |
| "hole": 0.4, | |
| "hoverinfo": "label+percent+name" | |
| }, | |
| { | |
| "labels": [ | |
| "US", | |
| "China", | |
| "European Union", | |
| "Russian Federation", | |
| "Brazil", | |
| "India", | |
| "Rest of World" | |
| ], | |
| "name": "CO2 Emissions", | |
| "values": [ | |
| 27, | |
| 11, | |
| 25, | |
| 8, | |
| 1, | |
| 3, | |
| 25 | |
| ], | |
| "type": "pie", | |
| "domain": { | |
| "x": [ | |
| 0.55, | |
| 1 | |
| ], | |
| "y": [ | |
| 0, | |
| 1 | |
| ] | |
| }, | |
| "hole": 0.4, | |
| "hoverinfo": "label+percent+name" | |
| } | |
| ], | |
| "layout": { | |
| "title": { | |
| "text": "Global Emissions 1990-2011" | |
| }, | |
| "annotations": [ | |
| { | |
| "showarrow": false, | |
| "text": "GHG", | |
| "x": 0.225, | |
| "xanchor": "center", | |
| "y": 0.5, | |
| "font": { | |
| "size": 20 | |
| } | |
| }, | |
| { | |
| "showarrow": false, | |
| "text": "CO2", | |
| "x": 0.775, | |
| "xanchor": "center", | |
| "y": 0.5, | |
| "font": { | |
| "size": 20 | |
| } | |
| } | |
| ], | |
| "autosize": true | |
| }, | |
| "config": { | |
| "responsive": true | |
| } | |
| } | |
| </script> | |
| <script src="chart_0082_pie.inline01.js"></script> | |
| </div> | |
| </body> | |
| </html> | |