JSFiddle - React, Tailwind, and code Playground
by Rodrigo Portillo
JavaScript
var chart = {
"companyName": "Claro-Master",
"companyUcloudIdentifier": "45a048b5-8314-4a08-a0d2-c63203ea60f2",
"startDate": 1620788400000,
"endDate": 1621393199000,
"costHistory": [
{
"service": "Amazon Elastic Compute Cloud::EBS direct API Requests",
"history": {
"2021-05-12": {
"positiveCost": 0.1060092,
"negativeCost": 0,
"positiveCostUSN": 0.1060092,
"negativeCostUSN": 0
}
}
},
{
"service": "AWS Config::Management Tools - AWS Config Rules",
"history": {
"2021-05-12": {
"positiveCost": 0.07,
"negativeCost": 0,
"positiveCostUSN": 0.07,
"negativeCostUSN": 0
}
}
},
{
"service": "Amazon SimpleDB::Database Storage",
"history": {
"2021-05-12": {
"positiveCost": 0,
"negativeCost": 0,
"positiveCostUSN": 0,
"negativeCostUSN": 0
}
}
},
{
"service": "AmazonCloudWatch::API Request",
"history": {
"2021-05-12": {
"positiveCost": 516.069024,
"negativeCost": 0,
"positiveCostUSN": 516.069024,
"negativeCostUSN": 0
},
"2021-05-13": {
"positiveCost": 0.00028,
"negativeCost": 0,
"positiveCostUSN": 0.00028,
"negativeCostUSN": 0
},
"2021-05-14": {
"positiveCost": 0.00028,
"negativeCost": 0,
"positiveCostUSN": 0.00028,
...