Skip to content

Embeddable charts #269

@adibarra

Description

@adibarra

A stable embed URL for InferenceX charts that can be iframed into external docs and partner sites.

Example URL shape:
Feel free to change to fit your design.

  • /embed/scatter?model=dsr1&framework=vllm&gpus=h200,b200,mi325x&isl=1024&osl=1024&y=tpPerGpu

Requirements

  • An /embed/scatter route that renders a real chart for a given URL state, suitable for iframe embedding at common widths (600px, 800px, full-width). Legend collapses gracefully on narrow widths.
  • An embed mode that hides the share buttons, top nav, and footer, and shows a small "SemiAnalysis InferenceX" attribution link back to the canonical page.
  • Frame-ancestors CSP that allows embedding for /embed/* routes only, leaving the rest of the site non-framable.
  • A canonical, stable embed URL shape we are willing to commit to keeping working long-term.
  • embed_view analytics event capturing referrer so external embed traffic is attributable.

Nice to have

  • Support for other chart types we have on the site like bar charts, radar, etc.
  • Generalized embed builder UI for partners to construct their own embed URLs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    diff/mediumMay require more knowledge about the codebasep1Fix soon, high priority

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions