I want to visualize the logs of my website by charts. Here are examples of logs:

[{ time: "2017-10-21T13:28:06.419Z", action: "visit" },
 { time: "2013-10-22T13:28:06.419Z", action: "visit" },
 { time: "2013-10-22T13:29:06.419Z", action: "visit" },
 { time: "2013-10-23T13:28:06.419Z", action: "visit" },
 { time: "2013-10-24T13:28:06.419Z", action: "visit" },
 ... ...]

Then, I want to make charts like Google Analytics:

enter image description here

There are two things I want to customize: 1) the start time and the end time in the chart; 2) the interval (by day/week/month). So does anyone know which charting library in JavaScript (eg, D3, highcharts, p5) permits of easily customizing these two things?

1 Answer 1


Syncfusion provides a chart control ejChart. Here is a sample that mimics Google Analytics link

The start time, end time and interval can be customized as needed.

Syncfusion Chart like Google Analytics

The entire product is available for free through the community license program if you qualify (less than 1 million USD in revenue).

Note: I work for Syncfusion.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.