Skip to main content

Questions tagged [linegraph]

A line graph is a type of chart which displays information as a series of data points called markers connected by straight line segments. It shows how something changes in value (as time goes by, or as something else happens).

0 votes
0 answers
870 views

Key error "year" even though I have a column called year

import pandas as pd import matplotlib.pyplot as plt import seaborn as sns data = pd.read_csv("match_map_stats.csv") plt.figure() Shanghai_Dragons_rule = data.loc[data["map_winner&...
John's user avatar
  • 1
0 votes
1 answer
58 views

How do I create a line graph using multiple variables when the multiple variables are all in the same column?

structure(list(Sample.Id = c(NA, "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "3", &...
Forsaken_PhD's user avatar
0 votes
1 answer
25 views

Making a line graph with certain X + Y values expressed differently with lines of 33 user IDs in R

I'm trying to put ActivityDate on the X Axis, and Calories on the Y Axis, relating to how 33 different users ranged in their calorie burnings daily. I'm new to ggplot and visualizations as you can ...
Eve Spencer's user avatar
1 vote
1 answer
155 views

Removing data from a line graph interactively in Jupiter notebook

I have a NumPy array which contains data from several samples. Some of the samples are outliers and need to be removed via visual inspection. Is there a way to make an interactive line plot in a ...
Liam's user avatar
  • 29
0 votes
1 answer
149 views

Dynamic google line chart not showing up with php and Javascript

I am using google charts to display a line graph on my locally hosted web page. I am using mysqli to take the data from my phpmyadmin database then echoing this into the row spaces in the javascript. ...
Sam's user avatar
  • 11
1 vote
1 answer
115 views

R - How to change the color of line based on the value of Y-axis?

I am trying to change the color of a line in a line graph based on the Y axis value. My specific application: I am visualizing wind speed and direction. Ideally I'd do this with a rose plot, but I am ...
JMade's user avatar
  • 37
0 votes
1 answer
39 views

Adding data value labels at both ends of the line graph in ggplot2

I want to illustrate the changes in number of chinese lawyers from 2017 to 2021. I was successful in doing that. But I want to add data value labels at the ends of the line graph to illustrate before ...
Psychedelique23's user avatar
0 votes
2 answers
277 views

How to plot a line graph filtering by two columns?

this is my first time asking a question here so I'll try my best. CONTEXT/DATA: I've a data set (example of it below) with daily data of different stores as well as their sales, forecast, region and ...
gosvn's user avatar
  • 1
0 votes
1 answer
168 views

How do I add a categorical legend to a double line graph in Tableau?

Here is my Current View I'm wanting to add a legend to distinguish between members(yellow line) and casual riders (blue line) so viewers can see which line is which. Seems like this should be simple, ...
Jared Miller's user avatar
0 votes
1 answer
308 views

Creating a 1D heat map using the data which is unequally spaced

I have a set of X,Y data points that are easy to plot as a line graph but that I would like to represent as a heatmap. I looked through the examples in Matplotlib and they all seem to already start ...
lynn233's user avatar
1 vote
0 answers
154 views

how to pass data from string type to integer to make line chart using mpandroidchart

I am making an app in android studio with java in which I want to make a line graph with the mpchart android library. The data that I want to represent in my graph is obtained by reading a sqlite ...
wuad's user avatar
  • 31
2 votes
5 answers
588 views

Shading below line graph in R

I have a line graph time series and I wanna make a filling color red for positive y values and blue for negative y values. How can i do it using polygon function because iam not using ggplot? Thank ...
kettaren ray's user avatar
0 votes
0 answers
877 views

SwiftUI Line Graphs in iOS 15

How can I make a graph like this with SwiftUI in iOS 15, I know the Charts library is a great way but those are only available in iOS 16+. Is there a native way to make a chart like this? (no third ...
tHatpart's user avatar
  • 1,538
0 votes
1 answer
54 views

matplotlib pyplot display ticks and values which are in scientific form

I have a plot which looks like this: The values displayed on the blue line are the cost ratio. The corresponding code looks like this: fpr=[some values] tpr=[some values] CR = plt....
Kathan Vyas's user avatar
0 votes
1 answer
328 views

How start the line graph after some space from intersection in recharts

In the given image I want to implement the line graph in such a way that the line graph starting point (Jan) should start after some space (custom space). This is the current implementation: <...
nadeemkhan02's user avatar

15 30 50 per page
1 2 3
4
5
39