Parallel coordinates

Source code Author

using Deneb

data = Data(url="https://cdn.jsdelivr.net/npm/vega-datasets@v1.29.0/data/iris.json")

chart = data * Mark(:line, opacity=0.5) * transform_window(
    index="count()",
) * transform_fold(
    [:petalLength, :petalWidth, :sepalLength, :sepalWidth]
) * Encoding(
    x=field(:key, title=""),
    y="value:Q",
    color=:species,
    detail=:index,
) * vlspec(
    width=500
)

This page was generated using DemoCards.jl and Literate.jl.