Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Doodle - Visualisation in Scala

Scala Days Conferences via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore data visualization in Scala with Doodle, a versatile library for creating 2D graphics. Learn how to render graphs on desktop, generate files in PDF and PNG formats, and produce SVG output for browsers using Scala.js. Discover the library's architecture, which employs functional programming techniques to offer powerful abstractions at multiple levels. Understand how Doodle provides both ease of use and flexibility, allowing for customization of colors, tick marks, keys, and more. Dive into the concepts of paths, layout alignments, and bounding box manipulations. Examine the compositional nature of Doodle, making it easy to reason about and extend. Consider performance aspects, potential limitations, and future improvements, including direct canvas drawing and PDF rendering enhancements. Gain insights into the layered design approach and how it facilitates the composition of graphical languages, ultimately making common visualization tasks straightforward while enabling complex customizations.

Syllabus

Intro
Not many good options for Scala
Doodle works with 2D vector graphics
Decreases reasonability
Customise colours, tick marks, key, etc.
Make the common cases easy
import io.circe.generic.auto.
Paths, and relationships between paths
Path is a sequence of moves, lines, and curves
Layout aligns origins of bounding boxes
Pad or shrink bounding box
Compositional, easy to reason about
Encoder and Decoder type classes
Image generates an intermediate data structure
Performance or memory usage limits
Draw directly to a Canvas
Extending Image layout operations
Find PDF rendering engine with fewer bugs
"Recursion scheme" encoding
Composition of languages
Layered design works nicely
Make common case easy
Make composition of layers easy
Doodle inspired by work on graphical grammars

Taught by

Scala Days Conferences

Reviews

Start your review of Doodle - Visualisation in Scala

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.