Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hypocube

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hypocube

Composable, responsive React-based graphs

  • 0.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by300%
Maintainers
1
Weekly downloads
 
Created
Source

Hypocube

Composable, responsive React-based graphs

Read the docs. TODO: create docs.

Motivation

At a high level, React and data visualization are natural companions. React manages SVG elements just as easily as HTML, as well as attaching event handlers to those elements for interactivity. There are many great React data-vis libraries out there: ADD THEM

At the same time, data visualization occupies a problem space that web authors have yet to fully contend with in the responsive design era. Graphs are not mere images that can be shrunk or expanded to fit the viewport with no loss of meaning. At the same time, they are not text that can be easily restyled by media queries. They are a different beast.

The responsive design mindset forces us to separate content from presentation. Content, in this case, is your data, usually represented by "space" on a Cartesian plane, but also sometimes by colors, line styles, etc. Presentation (or what Edward Tufte calls "non-data ink") is everything else, including some things not usually thought of as stylistic (e.g. the width and spacing of bars on a bar graph is stylistic, even though it ).

By clearly delineating different types of space, we can create graphs that are responsive to device capabilities. We can also, by enabling interactions such as panning or pinch-zoom, give users with small screens the ability to access content beyond what the basic screen real-estate might seemingly allow.

Quick start

TODO: add a quick start

FAQs

Package last updated on 22 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc