vega-lite VS hitchstory

Compare vega-lite vs hitchstory and see what are their differences.

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
vega-lite hitchstory
16 23
4,477 83
1.8% -
9.2 9.1
2 days ago 14 days ago
TypeScript Python
BSD 3-clause "New" or "Revised" License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

vega-lite

Posts with mentions or reviews of vega-lite. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-29.
  • Ask HN: What's the best charting library for customer-facing dashboards?
    16 projects | news.ycombinator.com | 29 Apr 2024
    I like Vega-Lite: https://vega.github.io/vega-lite/

    It’s built by folks from the same lab as D3, but designed as “a higher-level visual specification language on top of D3” [https://vega.github.io/vega/about/vega-and-d3/]

    My favorite way to prototype a dashboard is to use Streamlit to lay things out and serve it and then use Altair [https://altair-viz.github.io/] to generate the Vega-Lite plots in Python. Then if you need to move to something besides Python to productionize, you can produce the same Vega-Lite definitions using the framework of your choice.

  • Vega-Lite – A Grammar of Interactive Graphics
    1 project | news.ycombinator.com | 11 Apr 2024
    1 project | news.ycombinator.com | 26 Jul 2023
  • Vega-Altair: Declarative Visualization in Python
    9 projects | news.ycombinator.com | 25 Feb 2024
    Box zoom would need to be added to Vega-Lite first, and there has been some discussion around it in https://github.com/vega/vega-lite/issues/4742. Bottom line is that there's nothing blocking its implementation, someone just needs to do the work in Vega-Lite. And once released in Vega-Lite, Altair would pick it up automatically with how we generate the Altair API from the Vega-Lite schema.
  • Gnuplotlib: Non-Painful Plotting for NumPy
    5 projects | news.ycombinator.com | 31 Jan 2024
    I also have difficulties with Gnuplot and Matplotlib. I like Vega that allows me to create visualisations in a declarative way. If I really need something special I go with d3.js, which had a really steep learning curve but with ChatGPT it should have become easier for beginners.

    [1] https://vega.github.io/vega-lite/

  • Elixir Livebook is a secret weapon for documentation
    12 projects | news.ycombinator.com | 6 Aug 2023
    To ensure you do not miss this: LiveBook comes with a Vega Lite integration (https://livebook.dev/integrations -> https://livebook.dev/integrations/vega-lite/), which means you get access to a lot of visualisations out of the box, should you need that (https://vega.github.io/vega-lite/).

    In the same "standing on giant's shoulders" stance, you can use Explorer (see example LiveBook at https://github.com/elixir-explorer/explorer/blob/main/notebo...), which leverages Polars (https://www.pola.rs), a very fast DataFrame library and now a company (https://www.pola.rs/posts/company-announcement/) with 4M$ seed.

  • Observable Plot: The JavaScript library for exploratory data visualization
    17 projects | news.ycombinator.com | 26 Apr 2023
    Nice, would be nice to have it integrated in GitHub markdown.

    Looks similar to Vega or Vega-lite(https://vega.github.io/vega-lite/). Definitely as rich as D3.js but gets the job done for simple visualisations.

  • [AskJS] Javascript statistics library with period selection
    1 project | /r/javascript | 3 Mar 2023
    Vega-lite can do this https://vega.github.io/vega-lite/
  • 2022 FIFA World Cup finishing position probability per team [OC]
    3 projects | /r/dataisbeautiful | 20 Nov 2022
    The underlying data is from an online betting site. Data analysis was done in Python and I used Vega/Altair for the visualisation.
  • Plotting
    5 projects | /r/lisp | 7 Nov 2022
    I have a bunch of data that I want to plot. I'm using lisp-stat, which is pretty good, for data frames and analysis. However, lisp-stat uses vega-lite for plotting and to put it mildly, vega-lite is fucking awful.

hitchstory

Posts with mentions or reviews of hitchstory. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-27.
  • Hitchstory – Type-safe StrictYAML Python integration testing framework
    1 project | news.ycombinator.com | 22 Apr 2024
  • Winner of the SF Mistral AI Hackathon: Automated Test Driven Prompting
    2 projects | news.ycombinator.com | 27 Mar 2024
    I built something like this too:

    https://github.com/hitchdev/hitchstory/blob/master/examples%...

  • Prompt Engineering Testing Framework
    1 project | news.ycombinator.com | 25 Feb 2024
  • Non-code contributions are the secret to open source success
    10 projects | news.ycombinator.com | 13 Feb 2024
    I took the same approach to "docs are tests and tests are docs" with integration testing when I created this library: https://github.com/hitchdev/hitchstory

    I realized at some point that a test and a how-to guide can and should actually be the same thing - not just for doctests, but for every kind of test.

    It's not only 2x quicker to combine writing a test with writing docs, the test part and the docs part reinforce each other:

    * Tests are more easily understandable when you attach written context intended for human consumption.

    * Docs are better if they come attached to a guarantee that they're valid, not out of date and not missing crucial details.

    * TDD is better if how-to docs are created as a side effect.

  • Ask HN: Are there any LLM projects for creating integration tests?
    1 project | news.ycombinator.com | 12 Feb 2024
    I have created a project for easily writing this type of test with YAML:

    https://github.com/hitchdev/hitchstory

    I dont think that this type of task is really appropriate for an LLM though. It is better to use hard abstractions for the truly deterministic stuff and for other stuff where you may need to do subtle trade offs (e.g. choosing a selector for the search bar) an LLM will generally do a bad job.

  • Should you add screenshots to documentation?
    8 projects | news.ycombinator.com | 14 Dec 2023
    For those interested in the concept of having permanently up-to-date documentation with screenshots I built this testing framework based upon the idea that good documentation can be a autogenerated artefact of good tests:

    https://github.com/hitchdev/hitchstory

  • How to add documentation to your product life cycle
    3 projects | news.ycombinator.com | 9 Oct 2023
    I don't like gherkin. It's it has very awkward syntax, it's not type safe, it's very verbose, it has no ability to abstract scenarios and rather than being a source for generating the documentation it tries to be the documentation.

    Nonetheless, there is a small number of projects where they either work around this or it doesn't matter as much. I find that most people that apply gherkin to their projects find it doesn't work - usually for one of the above reasons.

    I built https://github.com/hitchdev/hitchstory as an alternative that has straightforward syntax (YAML), very strict type safety (StrictYAML), low verbosity, and is explicitly designed as a source for generating documentation rather than trying to be the documentation.

  • Beyond OpenAPI
    12 projects | news.ycombinator.com | 11 Sep 2023
    I built this because I had the same idea: https://github.com/hitchdev/hitchstory

    If the specification can be tested and used to generate docs and can be rewritten based upon program output then the maintenance cost for producing docs like these plunges.

  • Optimizing Postgres's Autovacuum for High-Churn Tables
    1 project | news.ycombinator.com | 2 Sep 2023
    -c fsync=off -c synchronous_commit=off -c full_page_writes=off

    I got the answer from Karen Jex at Djangocon 2023.

    I used it to build some integration tests which exhibit best practices: https://github.com/hitchdev/hitchstory/tree/master/examples/...

    I considered using tmpfs but I wanted to cache the entire database volume and couldnt figure out how to do that with podman.

  • Elixir Livebook is a secret weapon for documentation
    12 projects | news.ycombinator.com | 6 Aug 2023
    This is incredible work.

    To anyone curious, I highly recommend:

    - https://hitchdev.com/hitchstory/approach/

    - https://hitchdev.com/hitchstory/why-not/

    From the overall RDD/BDD type home page:

    - https://hitchdev.com/hitchstory/

    The entire product site is a thing of richly informative beauty.

    ---

    My only question was whether the generated 'docs' snippets would add value over just reading the story in your DASL. Any markdown site generator (such as the chosen Material for MKDocs) can just embed the ```yaml anyway. But then I realized what was generating e.g. …

    - https://hitchdev.com/hitchstory/using/engine/rewrite-story/

    … and how superior that is to typical docs, especially typical docstring or swagger factories.

What are some alternatives?

When comparing vega-lite and hitchstory you can also consider the following projects:

graphic-walker - An open source alternative to Tableau. Embeddable visual analytic

bumblebee - Pre-trained Neural Network models in Axon (+ 🤗 Models integration)

vega-tooltip - Tooltip Plugin for Vega-Lite

jsverify - Write powerful and concise tests. Property-based testing for JavaScript. Like QuickCheck.

py4cl2 - Call python from Common Lisp

testy - test helpers for more meaningful, readable, and fluent tests

plot - A vega-lite DSL for Common Lisp

examples - Tests that rewrite themselves. Tests that rewrite your docs.

lightning - High performance, interactive statistical graphics engine for the web.

ospec - Noiseless testing framework

plot - A node library to display charts in popup windows and save them as pngs. Supports observablehq/plot, vega-lite and plotly out of the box.

explorer - Series (one-dimensional) and dataframes (two-dimensional) for fast and elegant data exploration in Elixir