Download web/Plotly/line/chart_0123_line.html from chartact-benchmark/ChartAct: direct link, hf CLI and curl.
- Browser
- Download file 6.56 kB
-
https://huggingface.co/datasets/chartact-benchmark/ChartAct/resolve/main/web/Plotly/line/chart_0123_line.html
- Command line
-
hf download hf://datasets/chartact-benchmark/ChartAct/web/Plotly/line/chart_0123_line.html
-
curl -L -o chart_0123_line.html https://huggingface.co/datasets/chartact-benchmark/ChartAct/resolve/main/web/Plotly/line/chart_0123_line.html
6.56 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="6a898dbd-84aa-4704-ad8d-ebae43ccdada" class="plotly-graph-div" style="height:100vh; width:100vw;"></div> | |
| <script type="text/plain" data-chart-inline="true"> | |
| { | |
| "library": "Plotly", | |
| "containerId": "6a898dbd-84aa-4704-ad8d-ebae43ccdada", | |
| "data": [ | |
| { | |
| "connectgaps": true, | |
| "line": { | |
| "color": "rgb(67,67,67)", | |
| "width": 2 | |
| }, | |
| "mode": "lines", | |
| "name": "Television", | |
| "x": [2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013], | |
| "y": [74,82,80,74,73,72,74,70,70,66,66,69], | |
| "type": "scatter" | |
| }, | |
| { | |
| "marker": { | |
| "color": "rgb(67,67,67)", | |
| "size": 8 | |
| }, | |
| "mode": "markers", | |
| "x": [ | |
| 2001, | |
| 2013 | |
| ], | |
| "y": [ | |
| 74, | |
| 69 | |
| ], | |
| "type": "scatter" | |
| }, | |
| { | |
| "connectgaps": true, | |
| "line": { | |
| "color": "rgb(115,115,115)", | |
| "width": 2 | |
| }, | |
| "mode": "lines", | |
| "name": "Newspaper", | |
| "x": [2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013], | |
| "y": [45,42,50,46,36,36,34,35,32,31,31,28], | |
| "type": "scatter" | |
| }, | |
| { | |
| "marker": { | |
| "color": "rgb(115,115,115)", | |
| "size": 8 | |
| }, | |
| "mode": "markers", | |
| "x": [ | |
| 2001, | |
| 2013 | |
| ], | |
| "y": [ | |
| 45, | |
| 28 | |
| ], | |
| "type": "scatter" | |
| }, | |
| { | |
| "connectgaps": true, | |
| "line": { | |
| "color": "rgb(49,130,189)", | |
| "width": 4 | |
| }, | |
| "mode": "lines", | |
| "name": "Internet", | |
| "x": [2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013], | |
| "y": [13,14,20,24,20,24,24,40,35,41,43,50], | |
| "type": "scatter" | |
| }, | |
| { | |
| "marker": { | |
| "color": "rgb(49,130,189)", | |
| "size": 12 | |
| }, | |
| "mode": "markers", | |
| "x": [ | |
| 2001, | |
| 2013 | |
| ], | |
| "y": [ | |
| 13, | |
| 50 | |
| ], | |
| "type": "scatter" | |
| }, | |
| { | |
| "connectgaps": true, | |
| "line": { | |
| "color": "rgb(189,189,189)", | |
| "width": 2 | |
| }, | |
| "mode": "lines", | |
| "name": "Radio", | |
| "x": [2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013], | |
| "y": [18,21,18,21,16,14,13,18,17,16,19,23], | |
| "type": "scatter" | |
| }, | |
| { | |
| "marker": { | |
| "color": "rgb(189,189,189)", | |
| "size": 8 | |
| }, | |
| "mode": "markers", | |
| "x": [ | |
| 2001, | |
| 2013 | |
| ], | |
| "y": [ | |
| 18, | |
| 23 | |
| ], | |
| "type": "scatter" | |
| } | |
| ], | |
| "layout": { | |
| "xaxis": { | |
| "tickfont": { | |
| "family": "Arial", | |
| "size": 12, | |
| "color": "rgb(82, 82, 82)" | |
| }, | |
| "showline": true, | |
| "showgrid": false, | |
| "showticklabels": true, | |
| "linecolor": "rgb(204, 204, 204)", | |
| "linewidth": 2, | |
| "ticks": "outside" | |
| }, | |
| "yaxis": { | |
| "showgrid": false, | |
| "zeroline": false, | |
| "showline": false, | |
| "showticklabels": false | |
| }, | |
| "margin": { | |
| "autoexpand": false, | |
| "l": 100, | |
| "r": 20, | |
| "t": 110 | |
| }, | |
| "autosize": true, | |
| "showlegend": false, | |
| "plot_bgcolor": "white", | |
| "annotations": [ | |
| { | |
| "font": { | |
| "family": "Arial", | |
| "size": 16 | |
| }, | |
| "showarrow": false, | |
| "text": "Television 74%", | |
| "x": 0.05, | |
| "xanchor": "right", | |
| "xref": "paper", | |
| "y": 74, | |
| "yanchor": "middle" | |
| }, | |
| { | |
| "font": { | |
| "family": "Arial", | |
| "size": 16 | |
| }, | |
| "showarrow": false, | |
| "text": "69%", | |
| "x": 0.95, | |
| "xanchor": "left", | |
| "xref": "paper", | |
| "y": 69, | |
| "yanchor": "middle" | |
| }, | |
| { | |
| "font": { | |
| "family": "Arial", | |
| "size": 16 | |
| }, | |
| "showarrow": false, | |
| "text": "Newspaper 45%", | |
| "x": 0.05, | |
| "xanchor": "right", | |
| "xref": "paper", | |
| "y": 45, | |
| "yanchor": "middle" | |
| }, | |
| { | |
| "font": { | |
| "family": "Arial", | |
| "size": 16 | |
| }, | |
| "showarrow": false, | |
| "text": "28%", | |
| "x": 0.95, | |
| "xanchor": "left", | |
| "xref": "paper", | |
| "y": 28, | |
| "yanchor": "middle" | |
| }, | |
| { | |
| "font": { | |
| "family": "Arial", | |
| "size": 16 | |
| }, | |
| "showarrow": false, | |
| "text": "Internet 13%", | |
| "x": 0.05, | |
| "xanchor": "right", | |
| "xref": "paper", | |
| "y": 13, | |
| "yanchor": "middle" | |
| }, | |
| { | |
| "font": { | |
| "family": "Arial", | |
| "size": 16 | |
| }, | |
| "showarrow": false, | |
| "text": "50%", | |
| "x": 0.95, | |
| "xanchor": "left", | |
| "xref": "paper", | |
| "y": 50, | |
| "yanchor": "middle" | |
| }, | |
| { | |
| "font": { | |
| "family": "Arial", | |
| "size": 16 | |
| }, | |
| "showarrow": false, | |
| "text": "Radio 18%", | |
| "x": 0.05, | |
| "xanchor": "right", | |
| "xref": "paper", | |
| "y": 18, | |
| "yanchor": "middle" | |
| }, | |
| { | |
| "font": { | |
| "family": "Arial", | |
| "size": 16 | |
| }, | |
| "showarrow": false, | |
| "text": "23%", | |
| "x": 0.95, | |
| "xanchor": "left", | |
| "xref": "paper", | |
| "y": 23, | |
| "yanchor": "middle" | |
| }, | |
| { | |
| "font": { | |
| "color": "rgb(37,37,37)", | |
| "family": "Arial", | |
| "size": 30 | |
| }, | |
| "showarrow": false, | |
| "text": "Main Source for News", | |
| "x": 0, | |
| "xanchor": "left", | |
| "xref": "paper", | |
| "y": 1.05, | |
| "yanchor": "bottom", | |
| "yref": "paper" | |
| }, | |
| { | |
| "font": { | |
| "color": "rgb(150,150,150)", | |
| "family": "Arial", | |
| "size": 12 | |
| }, | |
| "showarrow": false, | |
| "text": "Source: PewResearch Center & Storytelling with data", | |
| "x": 0.5, | |
| "xanchor": "center", | |
| "xref": "paper", | |
| "y": -0.1, | |
| "yanchor": "top", | |
| "yref": "paper" | |
| } | |
| ] | |
| }, | |
| "config": { | |
| "responsive": true | |
| } | |
| } | |
| </script> | |
| <script src="chart_0123_line.inline01.js"></script> | |
| </div> | |
| </body> | |
| </html> | |