Get the latest tech news

Show HN: A JavaScript library for data visualization in both SVG and Canvas


Ripl provides a unified API for 2D graphics rendering in the browser with a focus towards high performance and interactive data visualization. - andrewcourtice/ripl

Ripl (pronounced ripple) is a library that provides a unified API for 2D graphics rendering (canvas & SVG) in the browser with a focus towards high performance and interactive data visualization. Ripl alleviates the issue of choosing between these mediums by exposing a unified API and mimicking the DOM/CSSOM in as many ways possible to make it simple for developers to interact with. Ripl also exposes a number of methods such as scales, geometry, interpolation, color and easing to assist with drawing (inspired by D3).

Get the Android app

Or read this on Hacker News

Read more on:

Photo of javascript

javascript

Photo of Canvas

Canvas

Photo of SVG

SVG

Related news:

News photo

Show HN: Next-token prediction in JavaScript – build fast LLMs from scratch

News photo

JavaScript Runs the World—Maybe Even Literally

News photo

Something nasty injected login-stealing JavaScript into 50K online banking sessions