Download web/Plotly/line/chart_0118_line.html from chartact-benchmark/ChartAct: direct link, hf CLI and curl.
- Browser
- Download file 2.95 kB
-
https://huggingface.co/datasets/chartact-benchmark/ChartAct/resolve/main/web/Plotly/line/chart_0118_line.html
- Command line
-
hf download hf://datasets/chartact-benchmark/ChartAct/web/Plotly/line/chart_0118_line.html
-
curl -L -o chart_0118_line.html https://huggingface.co/datasets/chartact-benchmark/ChartAct/resolve/main/web/Plotly/line/chart_0118_line.html
2.95 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="1408e0e4-4333-4d59-a256-3b5f921ddc25" class="plotly-graph-div" style="height:100vh; width:100vw;"></div> | |
| <script type="text/plain" data-chart-inline="true"> | |
| { | |
| "library": "Plotly", | |
| "containerId": "1408e0e4-4333-4d59-a256-3b5f921ddc25", | |
| "data": [ | |
| { | |
| "hovertemplate": "country=Botswana<br>lifeExp=%{x}<br>gdpPercap=%{y}<br>year=%{text}<extra></extra>", | |
| "legendgroup": "Botswana", | |
| "line": { | |
| "color": "#636efa", | |
| "dash": "solid" | |
| }, | |
| "marker": { | |
| "symbol": "circle" | |
| }, | |
| "mode": "lines+markers+text", | |
| "name": "Botswana", | |
| "orientation": "v", | |
| "showlegend": true, | |
| "text": [1952,1957,1962,1967,1972,1977,1982,1987,1992,1997,2002,2007], | |
| "x": [47.622,49.618,51.52,53.298,56.024,59.319,61.484,63.622,62.745,52.556,46.63399999999999,50.728], | |
| "xaxis": "x", | |
| "y": [851.2411407,918.2325349,983.6539764,1214.709294,2263.6111140000007,3214.857818,4551.14215,6205.88385,7954.111645,8647.142313,11003.60508,12569.85177], | |
| "yaxis": "y", | |
| "type": "scatter", | |
| "textposition": "bottom right" | |
| }, | |
| { | |
| "hovertemplate": "country=Canada<br>lifeExp=%{x}<br>gdpPercap=%{y}<br>year=%{text}<extra></extra>", | |
| "legendgroup": "Canada", | |
| "line": { | |
| "color": "#EF553B", | |
| "dash": "solid" | |
| }, | |
| "marker": { | |
| "symbol": "circle" | |
| }, | |
| "mode": "lines+markers+text", | |
| "name": "Canada", | |
| "orientation": "v", | |
| "showlegend": true, | |
| "text": [1952,1957,1962,1967,1972,1977,1982,1987,1992,1997,2002,2007], | |
| "x": [68.75,69.96,71.3,72.13,72.88,74.21,75.76,76.86,77.95,78.61,79.77,80.653], | |
| "xaxis": "x", | |
| "y": [11367.16112,12489.95006,13462.48555,16076.58803,18970.57086,22090.88306,22898.79214,26626.51503,26342.88426,28954.92589,33328.96507,36319.23501], | |
| "yaxis": "y", | |
| "type": "scatter", | |
| "textposition": "bottom right" | |
| } | |
| ], | |
| "layout": { | |
| "xaxis": { | |
| "anchor": "y", | |
| "domain": [ | |
| 0, | |
| 1 | |
| ], | |
| "title": { | |
| "text": "lifeExp" | |
| } | |
| }, | |
| "yaxis": { | |
| "anchor": "x", | |
| "domain": [ | |
| 0, | |
| 1 | |
| ], | |
| "title": { | |
| "text": "gdpPercap" | |
| } | |
| }, | |
| "legend": { | |
| "title": { | |
| "text": "country" | |
| }, | |
| "tracegroupgap": 0 | |
| }, | |
| "margin": { | |
| "t": 60 | |
| }, | |
| "autosize": true | |
| }, | |
| "config": { | |
| "responsive": true | |
| } | |
| } | |
| </script> | |
| <script src="chart_0118_line.inline01.js"></script> | |
| </div> | |
| </body> | |
| </html> | |