Skip to content

[BUG] can't render stacked unit chart #102

Open
@jamesscottbrown

Description

@jamesscottbrown

The Stacked unit chart Observable Plot relies on implicit stacking of example converts to SveltePlot as:

<Plot
    marginLeft={60}
    x={{ label: 'Frequency →' }}
    y={{ label: null }}
    color={{ legend: true }}>
    <BarX
        data={penguins}
        y="species"
        x={1}
        inset={0.5}
        fill="body_mass_g"
        sort="body_mass_g" />
    <RuleX data={[0]} />
</Plot>

However, this renders with an error about "duplicate key in BarX.svelte".

(This is one of the issues surfaced by #72)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy