Get started with uvCharts CDN

MIT licensed

Library for 2D/3D UV chart generation in Unity3D: UvCharts.

Tags:
  • Charts
  • d3

Stable version

Copied!

How to start using uvCharts CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with uvCharts CDN - cdnhub.io</title>
    <style>
        #chartContainer {
            width: 600px;
            height: 400px;
            border: 1px solid black;
        }
    </style>
</head>
<body>
    <div id="chartContainer"></div>
    <script src="https://cdn.cdnhub.io/uvCharts/1.1.6/uvcharts.min.js"></script>
    <script>
        // Assuming you have an array of UV index data
        const uvData = [
            { date: new Date(2023, 4, 1), uvIndex: 5 },
            { date: new Date(2023, 4, 2), uvIndex: 7 },
            { date: new Date(2023, 4, 3), uvIndex: 3 },
            { date: new Date(2023, 4, 4), uvIndex: 9 },
            { date: new Date(2023, 4, 5), uvIndex: 1 },
        ];

        // Create a new chart using the uvData array
        new uvCharts('chartContainer', uvData);
    </script>
</body>
</html>
Copied!
Copied!

All versions