Charts
How do I make an charts?
Working on some charting. What is a charts? How do you make a charts? This script and codes were developed by Tom on 16 September 2022, Friday.
Charts - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Charts</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div id="chart"></div> <script src='https://www.google.com/jsapi'></script> <script src="js/index.js"></script>
</body>
</html>
Charts - Script Codes CSS Codes
body { background: #181818;
}
Charts - Script Codes JS Codes
// Load the Visualization API and the piechart package.
google.load('visualization', '1.0', {'packages':['corechart']});
// Set a callback to run when the Google Visualization API is loaded.
google.setOnLoadCallback(drawChart);
// Callback that creates and populates a data table,
// instantiates the pie chart, passes in the data and
// draws it.
function drawChart() { // Create the data table. var data = new google.visualization.DataTable(); data.addColumn('number', 'Frames'); data.addColumn('number', 'Distance (Ls)'); data.addRows([ [1, 1.33], [76, 1.33], [86, 1.34], [96, 1.34], [106, 1.34], [116, 1.34], [126, 1.35], [136, 1.36], [146, 1.36], [156, 1.37], [166, 1.38], [176, 1.39], [186, 1.41], [196, 1.42], [206, 1.44], [216, 1.46], [226, 1.48], [236, 1.51], [246, 1.53], [256, 1.56], [266, 1.58], [276, 1.62], [286, 1.65], [296, 1.69], [306, 1.73], [316, 1.78], [326, 1.82], [336, 1.87], [346, 1.92], [356, 1.98], [366, 2.04], [376, 2.10], [386, 2.17], [396, 2.24], [406, 2.32], [416, 2.39], [426, 2.47], [436, 2.57], [446, 2.65], [456, 2.70], [466, 2.86], [476, 2.98], [486, 3.09], [496, 3.20], [506, 3.33], [516, 3.45], [526, 3.58], [536, 3.76], [546, 3.87], [556, 4.03], [566, 4.28], [576, 4.35], [586, 4.54], [596, 4.73], [606, 4.98], [616, 5.12], [626, 5.34], [636, 5.54], [646, 5.78], [656, 5.91], [666, 6.27], [676, 6.52], [686, 6.80], [696, 7.08], [706, 7.38], [716, 7.65], [726, 8.00], [736, 8.36], [746, 8.62], [756, 9.03], [766, 9.38], [776, 9.79], [786, 10.2], [796, 10.6], [806, 11.1], [836, 12.6], [866, 14.1], [896, 16.8], [926, 18.1], [956, 20.4], [986, 23.1], [1016, 25.1], [1046, 29.5], [1076, 33.4] ]); // Set chart options var options = { title:'Distance traveled', curveType: 'function' }; // Instantiate and draw our chart, passing in some options. var chart = new google.visualization.LineChart(document.getElementById('chart')); chart.draw(data, options);
}
Developer | Tom |
Username | tomprogers |
Uploaded | September 16, 2022 |
Rating | 3 |
Size | 2,497 Kb |
Views | 26,312 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Sidebar layout for doc viewer | 9,963 Kb |
Storage visualization | 4,014 Kb |
Dark theme search box | 2,187 Kb |
CSS3 glowing LEDs | 2,166 Kb |
Playing with auto-truncation of text | 2,217 Kb |
Encoding | 3,245 Kb |
Layout for crafting assistant | 3,522 Kb |
Gravatar monogram playground | 3,235 Kb |
Demo of some course-list filtering | 9,852 Kb |
JQueryUI widemeter widget | 2,648 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Masonry | Uriuriuriu | 5,005 Kb |
Display properties | Hamzaerbay | 1,886 Kb |
Two tables and header with jspdf-autotable | Someatoms | 2,245 Kb |
Hexagons | Ashmind | 4,360 Kb |
Coming Soon | MariamMassadeh | 1,680 Kb |
Touch Carousel - last, no gaps. | Berkin | 4,332 Kb |
Underlined form fields | Mitchdot | 2,323 Kb |
Multi column experiment. | Spylefkaditis | 2,805 Kb |
Video mute | Leon9208 | 2,131 Kb |
Christ the Redeemer | Prashantsani | 2,208 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!