Dev Resources
morris.js favicon

morris.js

Library/Programming

Morris.js is the library that powers the graphs on http://howmanyleft.co.uk/. It.

morris.js's website screenshot

About morris.js

morris.js is a JavaScript library for creating line, area, bar, and donut charts on web pages. Charts are rendered inside an HTML div element and configured through JavaScript by specifying data records, an x-axis key, y-axis keys, and labels.

The library depends on jQuery and Raphaël, and can be included via CDN-hosted files (JavaScript and CSS) or downloaded and self-hosted. It is released under the Simplified BSD License.

It is intended for web developers who want to add charts to a page without extensive configuration.

Key features

  • Line and area charts
  • Bar charts
  • Donut charts
  • Built on jQuery and Raphael for rendering
  • Chart data configured via simple JSON records with xkey/ykeys

Frequently asked questions

Is morris.js free to use?

Yes, it is released under the Simplified BSD License.

What dependencies does morris.js require?

It requires jQuery and Raphael to be included on the page alongside morris.js.

How do I install morris.js?

You can include the CSS and JS files from the cdnjs-hosted CDN, or download the zip bundle and host the assets yourself.

What chart types does morris.js support?

It supports line and area charts, bar charts, and donut charts.

Who is morris.js for?

It is for developers who want to add good-looking charts to a webpage without much difficulty.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product