#!/usr/bin/env python # coding: utf-8 #
# # # #
# # Plotly # # # ## Scatter Chart # # More information about this chart [here](https://plotly.com/python/line-charts/) # In[1]: from epyk.core.Page import Report rptObj = Report() languages = [ {"name": 'C', 'type': 'code', 'rating': 17.07, 'change': 12.82}, {"name": 'Java', 'type': 'code', 'rating': 16.28, 'change': 0.28}, {"name": 'Python', 'type': 'script', 'rating': 9.12, 'change': 1.29}, {"name": 'C++', 'type': 'code', 'rating': 6.13, 'change': -1.97}, {"name": 'C#', 'type': 'code', 'rating': 4.29, 'change': 0.3}, {"name": 'Visual Basic', 'type': 'script', 'rating': 4.18, 'change': -1.01}, {"name": 'JavaScript', 'type': 'script', 'rating': 2.68, 'change': -0.01}, {"name": 'PHP', 'type': 'script', 'rating': 2.49, 'change': 0}, {"name": 'SQL', 'type': 'script', 'rating': 2.09, 'change': -0.47}, {"name": 'R', 'type': 'script', 'rating': 1.85, 'change': 0.90}, ] c = rptObj.ui.charts.plotly.scatter(languages, y_columns=["rating", 'change'], x_axis='name') rptObj.outs.jupyter() # For more details about this charts and the various options and properties available please refer to the [official website](https://plotly.com/javascript/) # # Anything on the website should be available in the Python interface. # # Go back to the Chart Home page #
# Do not forget that this is a collaborative framework so do not hesitate to give feedbacks and like the different repository to get more visbility. # # Also any help is more than welcome !