🪰 Bug Attraction

By shrijeetverma13 · April 25, 2026

You’ve probably seen that insects seem to be attracted to artificial lights at night. Insects appear to be most attractive to blue and ultraviolet light,…

The location with the highest total insect count is BG with 2,521 insects, while Stunt has the lowest total with 721 insects. A bar chart has been generated showing the total insect counts across all locations for easy comparison.

The bar chart compares the average total insect attraction across different Model Lamp types. Each bar represents the mean number of insects attracted, with error bars showing variability. The lamps are ranked from highest to lowest average attraction, making it easy to identify which lamp models are most effective at attracting insects.

There is a negative moderate relationship between Mean Humidity and Total insect counts, with a Pearson correlation of -0.371. This means that as humidity increases, insect counts tend to slightly decrease, though the relationship is not very strong. A scatter plot with a trend line has been generated to visualize this pattern.

CFL (Compact Fluorescent Light) attracts the highest average total number of insects, with an average of 50.0 insects per observation. A bar chart has been generated showing the average insect counts across all light types, making it easy to compare their relative attractiveness to insects.

There is a very weak positive correlation (r = 0.089) between lamp illumination level and the total number of insects attracted. This means that while slightly more insects tend to appear at higher illumination levels, the relationship is not statistically strong — illumination alone is not a reliable predictor of insect attraction. A scatter plot with a trend line has been generated to visualize this relationship.

The bar chart and data table show the proportion of Diptera (flies) as a percentage of total insects captured under each Light Type. Each bar represents how dominant Diptera are within that lighting condition, making it easy to compare which light types attract relatively more or fewer Diptera.

Higher Max Wind does NOT significantly reduce total insect attraction counts. The analysis found a very weak negative relationship between wind speed and insect counts, but it is not statistically meaningful. A scatter plot with a trend line was generated to visualize this relationship.

There is a weak positive relationship between Mean Temperature and total insect counts across all sites. As temperatures rise, insect counts tend to increase, though the correlation is modest at 0.231. A scatter plot has been generated showing this relationship across all sites with individual trend lines per site.

The bar chart and data table show the average number of Lepidoptera (moths) attracted by each light type. You can see the full breakdown visually in the chart, with each light type ranked by its average moth count — the tallest bar represents the light type that attracts the most moths on average.

No — higher % Moon Visible does NOT reduce insect attraction to artificial lights. In fact, the data shows the opposite: more moon visibility is associated with significantly more insects. Two charts and supporting data tables were generated to illustrate this relationship.

The analysis reveals clear differences in average total insect counts across sites. Site L5 has the highest average with 75.1 insects, while Site S3 has the lowest average at just 10.4 insects — a difference of over 7x between the extremes.

Yes! The analysis shows that the best-performing light type does vary by location. A grouped bar chart has been generated comparing mean total insects attracted by each light type across all locations, making it easy to see which light type performs best in each area.

A pie chart has been generated showing the average composition breakdown of insect orders across all observations. The chart visually represents the proportional contribution of each order — including Diptera, Hymenoptera, Hemiptera, Coleoptera, and others — to the overall insect community.

The top 10% highest insect counts (73 or more insects) occur under a specific combination of environmental conditions. Compared to overall averages, these high-count nights tend to be warmer, drier, less windy, brighter moonlit, and slightly better illuminated. A bar chart and supporting tables have been generated to visualize these differences.

Here are the analysis results. Check the visualizations and data below.

The CFL2 lamp attracts the most Coleoptera (beetles) with 24 total beetles recorded. Two charts were generated: a horizontal bar chart ranking all lamps by beetle count, and a stacked bar chart showing the insect order composition for the top 5 beetle-attracting lamps. Among all lamp models, CFL2 leads clearly, followed by the 2700 Custom (19 beetles) and CFL (17 beetles). Interestingly, the 'No' lamp (no lamp/control) has the highest beetle proportion at 3.1% of its total catch, slightly edging out CFL2's 3.0%, though CFL2 captures more beetles in absolute numbers.

Based on the analysis, the light type labeled 'No Light' attracts the greatest diversity of insect orders. Two visualizations were generated to illustrate this: a bar chart showing the number of insect orders present for each light type, and a heatmap displaying the mean abundance of each insect order by light type.

Low-illumination lamps do attract fewer bugs — about 31.7% fewer compared to high-illumination lamps — but the relationship between brightness and bug attraction is surprisingly weak (correlation of only 0.09). This means illumination level alone isn't the main factor driving bugs to a lamp. That said, low-illumination lamps still offer a meaningful benefit: they use less energy AND attract somewhat fewer bugs, making them a reasonable choice. Two visualizations were generated showing bug attraction by illumination category and a scatter plot of bug counts vs. illumination level by lamp model.