visualization – How to control the visible area (up and down the line) in NumberLinePlot?

How can you control the up and down line visible part of the graph?

The target if view arrosw and text below the line (purple arrow) and if it´s posible make great the upper area

            muestra = {600, 800, 950}
            muestraMean = Mean(muestra)
            muestraMedian = Median(muestra)
            NumberLinePlot({600, 800, 950}
             , Spacings -> {0.08}, PlotStyle -> Directive(PointSize(0.016)), 
             LabelStyle -> {16, Bold}, ImageSize -> Full, PlotTheme -> {{}}
             Epilog -> {
               Thickness(0.006), Arrow({{muestraMean, 0.84}, {muestraMean, 0.24}}),
               Text(Style("Mean", 20, Bold), {muestraMean, 1.2}),
               Arrow({{muestraMedian, -0.64}, {muestraMedian, -0.12}}),
               Text(Style("Median", 24, Bold), {muestraMean, -0.74})}

unity – Change item rotation axis in inventory item visualization

I’m learning unity and i’m trying now make an inventory, i made a simple interface, and now i’m trying to make a item visualization. I look for some codes from web and i found this one:

using UnityEngine;

public class TurnObject : MonoBehaviour
    protected Vector3 posLastFame;
    public Camera UICam;

    // Update is called once per frame
    void Update()
        if(Input.GetMouseButtonDown(0)) {
            posLastFame = Input.mousePosition;

        if (Input.GetMouseButton(0)) {
            var delta = Input.mousePosition - posLastFame;
            posLastFame = Input.mousePosition;

            var axis = Quaternion.AngleAxis(-90f, Vector3.forward) * delta;
            transform.rotation = Quaternion.AngleAxis(delta.magnitude * 0.1f, axis) * transform.rotation;

I know some code, but I’m not good with geometrics. In this code when I move my mouse horizontal way, my object turn in the Y axis. And that’s good. But when I move my mouse vertical the object move in the X axis instead of Z axis.

Is there a way in this code for change this? I really have difficulty to understanding geometrics in Unity.

info visualisation – Overtime + 2 other aspects data visualization

It depends on the tradeoffs (and the story you need to convey): You can break the charts into adjacent, separate displays, or change the chart to emphasize relative change over time.

Break into separate displays:

This tradeoff means you have precision about each figure, but need to parse 2 data points. You can try to amend this with interaction with either chart:

enter image description here

Try making it like a sentence:

enter image description here

In this case, since the y-axis’ are separate, hovering on one chart gives you interactivity in the next. I’ve seen this done vertically as well.

It might be harder to parse the trendline, but the tradeoff is accuracy. Bubble charts can be difficult, as area is hard to parse.

Another solution: if change over time (not volume) is important, change the y-axis to reflect that:

enter image description here

What about dual y-axis charts?

There used to be more of an emphasis on dual y-axis visualization, but they’ve fallen out of favor due to perception problems:

Why not to use two axes, and what to use instead

The proportions of the two scales are often different from each other in dual axis charts. If the left axis would go down to zero, the chart would be twice as long. If the right axis would go down to zero, the chart would be almost three times as long.

algebraic geometry – Geometric visualization of tangent bundles/sheaves and normal cones/bundles

In algebraic geometry it is customary to identify locally free sheaves on say a scheme $X$ and vector bundles over the same scheme.

So say I have a nice scheme $X$ (you can assume it to be a variety, over an algebraically closed field $k$), and an exact sequence of locally free sheaves $0to V’to V to V”to 0$, this exact sequence is exact on the level of stalks, almost by definition, if $x$ is a (closed) point of $X$, $0to j^*V’to j^*V to j^*V”to 0$ is also exact because $V”$ is locally free, hence flat (here $j$ is the closed immersion $xto X$).

My question comes to how to practically apply this in the case of normal cones to regular immersion.

Let’s look at a simple example, $Z={xy=0}$ regularly embedded in $X=mathbb{A}^2$.
Concerning $Z$ we have the cotangent sheaf. It is not locally free but the normal cone of $Z$ is locally free.

At the origin, we have a geometric tangent cone given by the union the two axis lines. How is this related to the fiber of the tangent sheaf at 0, or to the fiber of the (co)normal cone at 0?

We have an exact sequence $0to N_{Z/X}^{*}to j^* Omega^1_X to Omega^1_Zto 0$.
Away form the origin, it is easy to understand what’s going on, at a point of the form say $(a,0)$ the stalk of the cotangent sheaf is given by $f(x)dx$, the fiber is simply $f(a)dx$, the conormal sheaf has fiber $k.dy$ (where k is the base field or the residue field of the point).

At the origin it becomes blurry to me, the normal bundle should have a line as a fiber, but which line?
The stalk of the tangent sheaf at the point consists of forms of the form $f(x)dx+g(y)dy$ and the fiber is a vector space of dimension 2. Which is also the case for the fiber of $j^{*}Omega^1_X$, but as the sheafs are not (locally) free I cannot deduce that the fiber of the normal bundle is zero, which is good as it should be a line.

Most importantly, how does this relate to the tangent cone, which is $xy=0$.
What is the normal cone? In particular how do i deduce the normal cone from the tangent cone (and not the (co)tangent sheaf and the exact sequence). I was hoping that the normal cone should be related (orthgonal) to something like the vector space generated by the tangent cone, but obviously this is not the case.

I hope my question is somewhat clear, I can clarify it if needed.

Info visualization – How is data with variations displayed for non-demanding users?

In my application, the students are divided into classes and each student has a performance metric. I want to be able to show teachers and school leaders a list of classes and an aggregate performance metric for each class.

I don't want to show the mean because a student with very high or low performance distorts it. I do not want to display the median because it basically completely discards the students with very high or low performance and I want to record the contribution of these students.

It would be more correct to show a visualization of the mean with standard deviation. I might have been able to show a small bell curve to convey this. But even then, I think this would be too complex for many of my users, and it's not a single number that could be used, for example, to sort the list by "performance".

Is there a better technique for calculating total performance in a single number that somehow captures the variance of the data set?

Info visualization – what is this type of graphic called?

Enter the image description here

What is this type of graphic called? I find this graphic on some websites, but I don't remember.

The functions of this diagram are listed below:

  1. Nodes are connected to the central node, which displays levels of information
  2. Clicking a node gives you information about that node.

Can anyone provide some use cases and references for this diagram?

Architecture – Scraper in separate repo from visualization component?

Let me explain my thoughts on the architecture of the project I'm working on.
The project code repository consists of:

  • Scrapy Component – of course, it's used to scratch, process, and calculate relationships between data. It fills the MySQL database.
  • Django Visualization component – simply displays data that is stored in the database with many filters.

At the moment they are provided as two separate Docker containers, which works perfectly.
The idea of ​​former colleagues was to continue code repositories with Split and Split.

I see the potential possibility of creating CI / CD per repository so that only tests / lintes / checks are carried out and ultimately only containers are provided that have actually been changed. Not everything that is okay is done for other containers (logical separation).

But because they actually work on the same database tables (scrapy fills them in, Django reads them), it looks like an overkill to me. I would have to keep two separate DB model specifications in sync in both repositories. Scrapy currently uses Django ORM to interact with DB.

What do you think? Do you think it's worth dividing the code repository into two separate models and staying in sync in both models? Or maybe not? Is there a way to trigger / execute the Gitlab CI / CD process only for the affected container in a single repository?

Thanks a lot