{"repo":"parkerziegler/reviz","free":true,"listed":false,"github":"https://github.com/parkerziegler/reviz","clone":"git clone https://github.com/parkerziegler/reviz.git","description":"A lightweight engine for generating partial Observable Plot programs from SVG subtrees.","language":"TypeScript","stars":79,"topics":["observable","typescript","data-visualization","reverse-engineering","observable-plot"],"license":"MIT","category":"security-tools","readme_excerpt":"A lightweight engine for reverse engineering data visualizations from the DOM reviz is a lightweight engine for reverse engineering data visualizations from the DOM. Its core goal is to assist in rapid visualization sketching and prototyping by automatically generating partial programs written using Observable Plot from input svg subtrees. reviz can be used directly through the core library, @reviz/compiler , or the Chrome extension, @reviz/extension . For a hands-on, interactive introduction to reviz , check out the Hello reviz! notebook on Observable. To get familiar with the various packages in this codebase, check out their respective READMEs. - @reviz/compiler – The core library and compiler. - @reviz/examples – The examples site. - @reviz/extension – The Chrome extension. - @reviz/ui – Shared UI components used across the reviz ecosystem. Installation Compiler Extension 🚧 Under Construction 🚧 API The reviz API is very small; in fact, it consists of only a single function, analyzeVisualization ! analyzeVisualization analyzeVisualization is a function that takes in an svg Element as input and returns an Object containing two properties, spec and program . spec refers to the intermediate representation used by reviz to generate partial Observable Plot programs. It encodes semantic information about the input svg subtree, including its inferred visualization type, geometric attributes of its marks (either circle or rect elements), and presentational attributes of its mark","default_branch":null,"files":null,"tree":[],"storefront":"/r/parkerziegler","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/parkerziegler/reviz/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}