Tag: values

Plotly slider how to change data values

using PlotlyJS # Create initial data x = 1:10 y = x.^2 # Create initial plot trace = scatter(x=x, y=y, mode=”lines+markers”) layout = Layout(title=”Plotly Slider Example”, xaxis_title=”X”, yaxis_title=”Y”) plot([trace], layout) # Define

Read More »

Sorting by two values basic sorting

Sorting is a common operation in programming, and Julia provides several ways to sort data. In this article, we will explore different approaches to solve a basic sorting problem in Julia. Approach

Read More »