Download web/AnyChart/scatter/chart_0043_scatter.html from chartact-benchmark/ChartAct: direct link, hf CLI and curl.
- Browser
- Download file 2.12 kB
-
https://huggingface.co/datasets/chartact-benchmark/ChartAct/resolve/main/web/AnyChart/scatter/chart_0043_scatter.html
- Command line
-
hf download hf://datasets/chartact-benchmark/ChartAct/web/AnyChart/scatter/chart_0043_scatter.html
-
curl -L -o chart_0043_scatter.html https://huggingface.co/datasets/chartact-benchmark/ChartAct/resolve/main/web/AnyChart/scatter/chart_0043_scatter.html
2.12 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta content="IE=edge" http-equiv="X-UA-Compatible"> | |
| <meta content="width=device-width, initial-scale=1" name="viewport"> | |
| <title>BCT Scatter Bubble Chart</title> | |
| <link href="https://playground.anychart.com/docs/samples/BCT_Scatter_Bubble_Chart/iframe" rel="canonical"> | |
| <meta content="Bubble Chart,Scatter Chart,Statistical Data" name="keywords"> | |
| <meta content="AnyChart - JavaScript Charts designed to be embedded and integrated" name="description"> | |
| <!--[if lt IE 9]> | |
| <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script> | |
| <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> | |
| <![endif]--> | |
| <link href="_deps/cdn.anychart.com/releases/8.14.1/css/anychart-ui.min_qe95e7e741b.css" rel="stylesheet" type="text/css"> | |
| <style>html, body, #container { | |
| width: 100%; | |
| height: 100%; | |
| margin: 0; | |
| padding: 0; | |
| }</style> | |
| </head> | |
| <body> | |
| <div id="container"></div> | |
| <script src="_deps/cdn.anychart.com/releases/8.14.1/js/anychart-base.min_qe95e7e741b.js"></script> | |
| <script src="_deps/cdn.anychart.com/releases/8.14.1/js/anychart-exports.min_qe95e7e741b.js"></script> | |
| <script src="_deps/cdn.anychart.com/releases/8.14.1/js/anychart-ui.min_qe95e7e741b.js"></script> | |
| <script type="text/javascript">anychart.onDocumentReady(function () { | |
| // create data | |
| var data = [ | |
| {x: 1.3, value: 637, size: 7}, | |
| {x: 2.5, value: 202, size: 14}, | |
| {x: 3.2, value: 168, size: 9}, | |
| {x: 3.9, value: 448, size: 18}, | |
| {x: 5.1, value: 300, size: 2} | |
| ]; | |
| // create a chart | |
| var chart = anychart.scatter(); | |
| // create a bubble series and set the data | |
| var series = chart.bubble(data); | |
| // enable major grids | |
| chart.xGrid(true); | |
| chart.yGrid(true); | |
| // enable minor grids | |
| chart.xMinorGrid(true); | |
| chart.yMinorGrid(true); | |
| // set the chart title | |
| chart.title("Scatter Bubble Chart"); | |
| // set the container id | |
| chart.container("container"); | |
| // initiate drawing the chart | |
| chart.draw(); | |
| });</script> | |
| </body> | |
| </html> |