Skip to main content

moonframe : simple and interactive plots using d3js.

Project description

Moonframe

Moonframe's banner containing the logo, the title of the repo and a subtitle : d3.js visuals with Python.

Moonframe is an open-source Python library that helps you create interactive graphs using D3.js without writing a single line of JavaScript. It’s built for quick data exploration and aims to be as simple and accessible as possible.

Right now (v0.0.0), it only supports scatter plots; with more chart types on the way.

Main features

Easy to setup

Moonframe comes with a minimalist CLI: one command, one graph. Your data just needs to be in CSV format; a widely used and simple standard in the data visualization community. Just type moonframe in any terminal:

>moonframe
Usage: moonframe [OPTIONS] COMMAND [ARGS]...

  Package moonframe v0.0.0

  ---------------------------  Moonframe  ----------------------------

  You are now using the Command line interface of moonframe package, a set of
  tools created at CERFACS (https://cerfacs.fr).

  This is a python package currently installed in your python environement.

  All graphs are displayed in your default web browser.

Options:
  --help  Show this message and exit.

Commands:
  scatter  Scatter plot

Customizable charts without coding

Moonframe provides a clear interface that handles all customization. You can easily navigate between graph views to explore your dataset.

Scatter plot demo. A menu on the left allows you to select the names of the columns you want to plot. You can change X,Y, size and color.

Interact with the data

Tooltips are available on all charts. They show details from your data when you hover over a point, and you can fully customize what they display. This can be helpful for getting quick insights. You can also highlight color groups on hover to spot trends more easily in your dataset.

Scatter plot demo. When the mouse hovers over a point, text appears describing the data associated with that point.

Installation

Install it from PyPI with :

pip install moonframe

Note

The data set used for these examples comes from INSEE, a french institut focus on statistics and economics studies. Get the data here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

moonframe-0.1.2.tar.gz (28.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

moonframe-0.1.2-py3-none-any.whl (34.3 kB view details)

Uploaded Python 3

File details

Details for the file moonframe-0.1.2.tar.gz.

File metadata

  • Download URL: moonframe-0.1.2.tar.gz
  • Upload date:
  • Size: 28.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for moonframe-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f849f0eed49b6b86b7af15f441e2cb51ef9255238e47c37b1e3309e2e28829a1
MD5 d5db512001212b8b9863401cea67a28c
BLAKE2b-256 6dad693e7112cb7adf1b927fab1709296f0948bdc4abc8e57a1a317a0edfd37a

See more details on using hashes here.

File details

Details for the file moonframe-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: moonframe-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 34.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for moonframe-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 484f15fe842701e71fbf2aea960cde5b9cf9441f9f33b8f7f565e2ee74be25c8
MD5 0ad862333a53481b00f7b10db39c6792
BLAKE2b-256 a56579997ee062fb0b80c55577460d6e7b8720ef938afbe4d91f41aaf2a6d9e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page