All Projects → asmuth → Clip

asmuth / Clip

Licence: apache-2.0
Create charts from the command line

Programming Languages

C++
36643 projects - #6 most used programming language
CLIPS
21 projects

Projects that are alternatives of or similar to Clip

Uplot
📈 A small, fast chart for time series, lines, areas, ohlc & bars
Stars: ✭ 6,808 (+33.2%)
Mutual labels:  data-visualization, chart, charts, plotting
Matplotplusplus
Matplot++: A C++ Graphics Library for Data Visualization 📊🗾
Stars: ✭ 2,433 (-52.4%)
Mutual labels:  data-visualization, charts, plots
Anychart Android
AnyChart Android Chart is an amazing data visualization library for easily creating interactive charts in Android apps. It runs on API 19+ (Android 4.4) and features dozens of built-in chart types.
Stars: ✭ 1,762 (-65.53%)
Mutual labels:  data-visualization, chart, charts
Flutter echarts
A Flutter widget to use Apache ECharts (incubating) in a reactive way.
Stars: ✭ 420 (-91.78%)
Mutual labels:  data-visualization, chart, charts
Unity Ugui Xcharts
A charting and data visualization library for Unity. 一款基于UGUI的数据可视化图表插件。
Stars: ✭ 1,086 (-78.75%)
Mutual labels:  data-visualization, chart, charts
Gr.rb
Ruby wrapper for the GR framework
Stars: ✭ 60 (-98.83%)
Mutual labels:  data-visualization, charts, plotting
Aachartcore
📈📊☕️☕️☕️An elegant modern declarative data visualization chart framework for Android. Extremely powerful, supports line, spline, area, areaspline, column, bar, pie, scatter, angular gauges, arearange, areasplinerange, columnrange, bubble, box plot, error bars, funnel, waterfall and polar chart types.极其精美而又强大的 Android 数据可视化图表框架,支持柱状图、条形图、折线图、曲线图、折线填充图、曲线填充图、气泡图、扇形图、环形图、散点图、雷达图、混合图等各种类型的多达几十种的信息图图表,完全满足工作所需.
Stars: ✭ 424 (-91.7%)
Mutual labels:  data-visualization, chart, charts
Swiftcharts
Easy to use and highly customizable charts library for iOS
Stars: ✭ 2,336 (-54.29%)
Mutual labels:  chart, charts, plots
Tablesaw
Java dataframe and visualization library
Stars: ✭ 2,785 (-45.51%)
Mutual labels:  data-visualization, chart, plotting
Just Dashboard
📊 📋 Dashboards using YAML or JSON files
Stars: ✭ 1,511 (-70.44%)
Mutual labels:  csv, data-visualization, chart
Volbx
Graphical tool for data manipulation written in C++/Qt
Stars: ✭ 187 (-96.34%)
Mutual labels:  csv, data-visualization, plots
Reasonbizcharts
ReasonML binding for BizCharts https://bizcharts.net/products/bizCharts/demo
Stars: ✭ 23 (-99.55%)
Mutual labels:  data-visualization, chart, charts
Amcharts4
The most advanced amCharts charting library for JavaScript and TypeScript apps.
Stars: ✭ 907 (-82.25%)
Mutual labels:  data-visualization, chart, charts
Ac D3
Javascript Library for building Audiovisual Charts in D3
Stars: ✭ 76 (-98.51%)
Mutual labels:  data-visualization, chart, charts
Anychart
AnyChart is a lightweight and robust JavaScript charting solution with great API and documentation. The chart types and unique features are numerous, the library works easily with any development stack.
Stars: ✭ 288 (-94.37%)
Mutual labels:  data-visualization, chart, charts
Graphic
A Flutter data visualization library based on Grammar of Graphics.
Stars: ✭ 173 (-96.62%)
Mutual labels:  data-visualization, chart, charts
Ggnet
GG.Net Data Visualization
Stars: ✭ 45 (-99.12%)
Mutual labels:  charts, plotting, plots
Reaviz
📊 Data visualization library for React based on D3
Stars: ✭ 215 (-95.79%)
Mutual labels:  data-visualization, chart, charts
SwiftCharts
Easy to use and highly customizable charts library for iOS
Stars: ✭ 2,405 (-52.94%)
Mutual labels:  chart, charts, plots
React Jsx Highcharts
Highcharts built with proper React components
Stars: ✭ 336 (-93.43%)
Mutual labels:  data-visualization, chart, charts

clip

clip (the command line illustration processor) is an open-source command line program and software library for creating charts and other data-driven illustrations.

Getting Started · Examples · Documentation

Introduction

In essence, clip is an automated drawing program; it reads a text file containing a description of the chart or diagram and produces an image from it. This is best explained by example, so here is how to draw a simple line chart using clip:

class: plot;

limit-x: 0 7200;
limit-y: 0 100;

axes {
  font: "Roboto";
  position: left bottom;
  label-placement-x: linear-interval(900 900 7000);
  label-format-x: datetime("%H:%M:%S");
}

lines {
  data: "test/testdata/timeseries.csv";
  stroke-width: 0.8pt;
  color: #06c;
}

The input file from above (example.clp) can be processed with clip using the following command:

$ clip --export output.svg example.clp

This is the resulting SVG file (output.svg):

Note that this example is only intended to give you an idea of what the syntax looks like; for an in-depth description of all parameters, please refer to the documentation. More examples can be found on the examples page.

Documentation

You can find the full documentation and more examples at clip-lang.org.

Installation

Compile from source

To build clip, you need an up-to-date C++ compiler, cmake, fmtlib, libharfbuzz, libfreetype and cairo. Then run:

$ cmake .
$ make

To install the clip binary into your system, run make install:

$ make install

To run the test suite, run make test:

$ make test

For detailed installation instructions, have a look at the Installation page.

FAQ

I'm getting build errors when compiling the code

clip is written in C++17 and requires a reasonably modern C++ compiler and standard library. In most cases where the code doesn't build it's due to some problem with the local build environment. Still, we always appreciate bug reports via Github Issues so that we can improve our build system.

The test suite fails on my machine because text placement is slightly offset

The test suite requires that you have the original Microsoft Arial TTF files installed on your machine. To verify that this is the case, run fc-match 'Arial,Helvetica,Helvetica Neue:style=Regular,Roman' and check that it returns the correct 'arial.ttf' file.

What happened to the project name?

The project was started in 2011 and was initially called "FnordMetric". The first version from 8 years ago also included facilities for storing and transforming data in addition to the charting code. Over time, the data processing parts were removed, leaving only the plotting code. However, as a consequence, most of the search queries for the project name would return outdated information, resulting in a generally confusing and stale-feeling situation. The best solution seemed to be to rename the project and so it was renamed to "clip".

Acknowledgements

License

clip -- The command line illustration processor
https://clip-lang.org

Copyright (c) 2020, Paul Asmuth, Laura Schlimmer
All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].