WebDataRocks End User License Agreement (“Agreement”) has been revised and is effective as of April 18, 2024.
The following modifications have been made:
The modified version of WebDataRocks End User License Agreement is available here.
Downloading, installing, and/or continuing to use WebDataRocks after April 18, 2024, constitutes your acceptance of the terms and conditions of the modified version of WebDataRocks End User License Agreement. If you do not agree to any of these terms and conditions, do not download, install, use, or access (or continue to access) WebDataRocks.
Embedding WebDataRocks is a simple and quick process.
Please follow the steps:
Get WebDataRocks now, open your HTML file and between <body>
tags include WebDataRocks with some sample data.
<html> <head></head> <body> <div id="wdr-component"></div> <link href="https://cdn.webdatarocks.com/latest/webdatarocks.min.css" rel="stylesheet"/> <script src="https://cdn.webdatarocks.com/latest/webdatarocks.toolbar.min.js"></script> <script src="https://cdn.webdatarocks.com/latest/webdatarocks.js"></script> <script> const pivot = new WebDataRocks({ container: "#wdr-component", toolbar: true, report: { dataSource: { filename: "https://cdn.webdatarocks.com/data/data.csv" } } }); </script> </body> </html>
You can see how this code is working in our live demo on CodePen.
Add your own file with JSON or CSV data by specifying the URL to your file in filename
:
filename: "URL-to-your-CSV-or-JSON-file"
Hooray! WebDataRocks is embedded and ready to use.