Skip to content

Request for Native Java Support in Plotly for Interactive Charting #5076

@Unknownuserfrommars

Description

@Unknownuserfrommars

Description:
Plotly is an outstanding interactive charting library that currently supports R, Python, Julia, and JavaScript, among others. However, many enterprise applications are built in Java environments (including my app), and the absence of a native Java API creates a significant gap. This request aims to extend Plotly’s support to Java, enabling developers to integrate rich, interactive charts directly into their Java-based applications.

Use Case & Motivation:
Enterprise Integration: Java is a cornerstone in many large-scale, enterprise-level systems. Native support for Plotly in Java would allow developers to easily embed interactive charts in web applications, desktop applications, or even in server-side reporting tools.
Enhanced Developer Experience: Currently, Java developers might need to resort to less robust charting libraries or implement workarounds (e.g., embedding web-based components). A native Java API for Plotly would streamline development, reduce dependency on external tools, and ensure consistency with Plotly’s high standards.
Unified Ecosystem: Extending Plotly to Java would promote a more unified visualization ecosystem across different programming environments, making it easier for teams to maintain and share visualization code across diverse projects.

Potential Approaches:
Direct Java API: Develop a native Java library that interfaces directly with Plotly’s backend, allowing for seamless chart generation and interactivity.
JavaScript Wrapper: Create a lightweight Java wrapper around the existing Plotly.js library, enabling Java applications to interact with Plotly’s JavaScript functionalities through a familiar API.
Community Contributions: Provide guidelines and support for community contributions, which could help accelerate the development of a robust Java integration.

Conclusion:
Adding Java support to Plotly would greatly benefit the community by broadening its usability and allowing a major segment of developers to harness its powerful charting capabilities. This feature would help bridge the current gap and position Plotly as the go-to interactive charting solution across all major programming languages.

Thanks a lot!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions