-

- -

Showing posts with label online-editor. Show all posts
Showing posts with label online-editor. Show all posts

Monday, October 8, 2018

Using ObservableHq Online (Notebook) Editor For JavaScript ML Programming Like Python Jupyter Notebook

 


.

Observable is not just another JavaScript sandbox. It introduces the notebook paradigm to JavaScript projects, those of you familiar with Jupyter notebooks, this is the equivalent with JavaScript instead of Python. It turns out JavaScript is very well-suited to this type of paradigm.

What’s more, JavaScript developers already have some sort of familiarity with reactivity since most frontend frameworks and view libraries build on it. It’s a different kind of reactivity, in that the library only re-renders or re-computes the section of the application that needs it (cf. Vue, Angular, React).

.

https://codewithhugo.com/observablehq-notebooks-for-javascript-demos-and-prototypes/

Tuesday, January 30, 2018

ObservableHq Tutorial: Introduction to Data (JavaScript ML Notebook Alternative To Python ML Jupyter Notebook)

.

Introduction to Data

How do you get data into Observable for analysis and visualization? Depending on its form and where it lives, there are a variety of ways:

  • inline - embedded in the notebook as code, for small amounts of data
  • files - attached to the notebook, for medium amounts of data (e.g., CSV, SQLite)
  • APIs - queried from a remote server, for programmatic access to data
  • databases - via an Observable database client, for accessing SQL databases

You can also download generated data from notebooks.

.

https://observablehq.com/@observablehq/introduction-to-data

.

SQLite

Observable has built-in support for SQLite, “a small, fast, self-contained, high-reliability, full-featured, SQL database engine” and “the most used database engine in the world.” Observable’s SQLite client uses sql.js, an Emscripten port of SQLite.

After attaching a SQLite file to your notebook, create a SQLite database client by calling file.sqlite().

.

https://observablehq.com/@observablehq/sqlite

.