I'm looking to streamline my code by combining HTML, CSS, and JS into a single HTML script for the existing "Bell Curve Using Google Charts API" project.
I've tried putting the CSS in style tags and the JS in script tags within the head section, but it's not working as expected. I'd appreciate any guidance or assistance with this. Here is the code snippet:
<html>
<head>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
// JS code here
</script>
</head>
<body>
<style>
/* CSS styles here */
</style>
<h1>Bell Curve with Google Charts API</h1>
<div id="chart_div"></div>
</body>
</html>
Despite my efforts, I keep encountering a "Data Table Not Defined" error when running the code.